ParallelGraphics  
Home  »  Developer Zone  »  Products  »  Cortona VRML Client  »  VRML Extensions  »  TextureTransform3
TextureTransform3
The TextureTransform3 node defines a 3D transformation that is applied to texture coordinates used in environment mapping (3D transformation of the reflection vector).

EXTERNPROTO	TextureTransform3 [
  exposedField SFVec3f     center            0 0 0    # (-inf,inf)
  exposedField SFRotation  rotation           0 0 1 0  # [-1 1],(-inf,inf)
  exposedField SFVec3f     scale              1 1 1    # (0,inf)
  exposedField SFRotation  scaleOrientation   0 0 1 0  # [-1 1],(-inf,inf)
  exposedField SFVec3f     translation        0 0 0    # (-inf,inf)
]
[
   "urn:inet:parallelgraphics.com:cortona:TextureTransform3"
   "http://www.parallelgraphics.com/vrml/proto/Cortona/extensions.wrl
    #TextureTransform3"
]

The fields of the TextureTransform3 node are analogous to the corresponding fields of the Transforms VRML node.

The TextureTransform3 node can be used as a value of the textureTransforms field of the AdvancedAppearance node. The texture, to which the transformation applies, should be specified in the textures field of the AdvancedAppearance node by the CubeEnvironment or SphereEnvironment nodes.

TextureTransform example
[view]





Last updated: Wed, 19 Nov 2008
© 2000-2008 ParallelGraphics. All rights reserved.