A SERVICE OF

logo

Applying Textures to Geometries
45
When you choose the NON_PERSP_TEX mode, Cosmo 3D applies the texture to a
geometry without proper perspective. For example, if you apply a texture to a plane
extending into the Z dimension, the pattern should not distort but just appear to recede
into the distance. In NON_PERSP_TEX mode, however, the pattern is distorted, as
shown in Figure 3-4.
Figure 3-4 Non-Perspective and Perspective Modes
If you enable texture rendering but do not set the texture mode in a csContext or
csAppearance object, the texture rendering mode is dened by the csTexture object in the
argument of csAppearance::setTexture() or csContext::setTexture(). A csTexture object
can specify one of the values in TexModeEnum.
Non Perspective Perspective