ParallelGraphics  
Home  »  Developer Zone  »  Products  »  Cortona VRML Client  »  VRML Extensions  »  CubeEnvironment
CubeEnvironment
The CubeEnvironment node specifies an environment cube texture map shape for simulating reflections on 3D objects in the scene.

EXTERNPROTO CubeEnvironment [
  exposedField  SFNode  backTexture
  exposedField  SFNode  bottomTexture
  exposedField  SFNode  frontTexture
  exposedField  SFNode  leftTexture
  exposedField  SFNode  rightTexture
  exposedField  SFNode  topTexture
]
[
  "urn:inet:parallelgraphics.com:cortona:CubeEnvironment"
  "http://www.parallelgraphics.com/vrml/proto/Cortona/extensions.wrl#CubeEnvironment"
]

Fields and events
 
backTexture  Specifies the back texture in the cube map shape.

 
bottomTexture  Specifies the bottom texture in the cube map shape.

 
frontTexture  Specifies the front texture in the cube map shape.

 
leftTexture  Specifies the left texture in the cube map shape.

 
rightTexture  Specifies the right texture in the cube map shape.

 
topTexture  Specifies the top texture in the cube map shape.

Following nodes can be used as values of the above fields: ImageTexture, PixelTexture, MovieTexture, BumpMap, and MipMap. It is not possible to use the BumpMap or MipMap nodes as values of the fields if the CubeEnvironment node is in its turn specified in one of these two nodes.

Important: This node is supported by most video cards when the DirectX Renderer (Concorde DX7) or OpenGL Renderer is selected. It is strongly recommended to install the latest version of DirectX and update the video card driver (from its manufacturer's Web site) before viewing VRML scenes containing this node.

CubeEnvironment example
[view]





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