From Ohm

3D Texturen

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);

Retrieved from http://schorsch.efi.fh-nuernberg.de/roettger/index.php/MedicalVisualization/3DTextures

Page last modified on November 05, 2013, at 09:57 AM