< Zurück | Inhalt | Weiter >

14.3 Texture and multiple levels of detail

java.lang.Object

|

+−−javax.media.j3d.SceneGraphObject

|

+−−javax.media.j3d.NodeComponent

|

+−−javax.media.j3d.Texture


Capability Bits (OpenGL Reference: glTexImage2D, glTexParameter):


BOUNDARY_COLOR

ENABLE

FILTER

IMAGE

MIPMAP_MODE


Texture is an abstract class and hence cannot be instantiated. The two derived classes Texture2D or

Texture3D (used with 2D or 3D texture coordinates respectively) should be instantiated instead. Texture−derived objects are usually not created directly but are returned by the getTexture method of the TextureLoader utility class. See section 14.3.3 for more details.


 

14.3.1 Boundary color
14.3.2 Boundary mode
14.3.3 Setting the image
From TextureTest.java
14.3.4 MIPMAP mode, filter, and multiple texture images
From AppearanceTest.java