|
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
exposedField SFRotation rotation 0 0 1 0
exposedField SFVec3f scale 1 1 1
exposedField SFRotation scaleOrientation 0 0 1 0
exposedField SFVec3f translation 0 0 0
]
[
"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.
|