MedicalVisualization

3D Texturen

2D Textures | | Texture Coordinate Generation

3D Textures are defined as unit cube in the 3D Texture space. The three texture coordinates are named s,t and r.

Each vertex is assigned a texture coordinate, three of which define a plane in 3D texture space from which the texture is sampled.

With OpenGL 3D texture coordinates are specified as follows:

glTexCoord3f(s,t,r);


2D Textures | | Texture Coordinate Generation

Options: