|
The CompositeTexture3D and CompositeTexture2D nodes allow for adding composite
textures to the 3D scene. You must have DirectX 9.0c installed and activated
DirectX renderer with Auto or Concorde DX9 option in Cortona3D Viewer.
CompositeTexture3D
EXTERNPROTO CompositeTexture3D [
eventIn MFNode addChildren
eventIn MFNode removeChildren
exposedField MFNode children
exposedField SFInt32 pixelWidth
exposedField SFInt32 pixelHeight
exposedField SFBool repeatS
exposedField SFBool repeatT
exposedField SFNode background
exposedField SFNode fog
exposedField SFNode navigationInfo
exposedField SFNode viewpoint
]
[
"urn:inet:parallelgraphics.com:cortona:CompositeTexture3D"
"http://www.parallelgraphics.com/vrml/proto/Cortona/extensions.wrl
#CompositeTexture3D"
]
The CompositeTexture3D node represents a texture mapped onto a 3D object that is composed of a 3D scene.
User interaction and the standard user navigation on the textured scene are disabled.
The children field is the list of 3D children nodes that define the 3D scene that forms the texture map.
The addChildren eventIn specifies a list of nodes that shall be added to the children field.
The removeChildren eventIn specifies a list of nodes that shall be removed from the children field.
The pixelWidth and pixelHeight fields specify the ideal size in pixels of this map.
The default values result in an undefined size being used. This is a hint for the content creator to define the quality of the texture mapping.
The background field specifies the Background of the current texture. It may only contain Background node.
The fog field specifies the Fog node.
The navigationInfo field specifies the NavigationInfo node.
The viewpoint field specifies the Viewpoint node.
The repeatS and repeatT fields specify how the texture wraps in the S and T directions.
Example
CompositeTexture2D
EXTERNPROTO CompositeTexture2D [
eventIn MFNode addChildren
eventIn MFNode removeChildren
exposedField MFNode children
exposedField SFInt32 pixelWidth
exposedField SFInt32 pixelWidth
exposedField SFBool repeatS
exposedField SFBool repeatT
exposedField SFNode background
exposedField SFNode viewport
]
[
"urn:inet:parallelgraphics.com:cortona:CompositeTexture2D"
"http://www.parallelgraphics.com/vrml/proto/Cortona/extensions.wrl
#CompositeTexture2D"
]
The CompositeTexture2D node represents a texture that is composed of a 2D scene, which may be mapped onto another object.
The children field contains a list of 2D children nodes that define the 2D scene that is to form the texture map.
The addChildren eventIn specifies a list of nodes that shall be added to the children field.
The removeChildren eventIn specifies a list of nodes that shall be removed from the children field.
TThe pixelWidth and pixelHeight fields specify the ideal size in pixels of this map.
The default values result in an undefined size being used. This is a hint for the content creator to define the quality of the texture mapping.
The semantics of the background and viewport fields are identical to the semantics of the Layer2D fields of the same name.
The repeatS and repeatT fields specify how the texture wraps in the S and T directions.
|