VolumeRendering
2D Texture Space
← OpenGL Texturing | ● | Texture Coordinates →
2D textures are defined as uniform rectangle in texture space.
The two texture coordinates in texture space are named s und t ($s,t\in[0,1])$.
The mapping from 2D texture space onto graphics primitives in 3D is done by attaching texture coords to the vertices.
Texture coordinates are vertex attributes, which defined by the OpenGL command:
glTexCoord2f(s,t);
← OpenGL Texturing | ● | Texture Coordinates →