OpenGLContext.scenegraph.cubebackground

Panoramic image-cube Background node

Classes

back
exposedField SFNode SFNode <class 'OpenGLContex
backUrl
exposedField MFString backUrl []
bottom
exposedField SFNode SFNode <class 'OpenGLContex
bottomUrl
exposedField MFString bottomUrl []
bound
exposedField SFBool bound 0
front
exposedField SFNode SFNode <class 'OpenGLContex
frontUrl
exposedField MFString frontUrl []
left
exposedField SFNode SFNode <class 'OpenGLContex
leftUrl
exposedField MFString leftUrl []
right
exposedField SFNode SFNode <class 'OpenGLContex
rightUrl
exposedField MFString rightUrl []
top
exposedField SFNode SFNode <class 'OpenGLContex
topUrl
exposedField MFString topUrl []
Image-cube Background node
The CubeBackground node implements 1/2 of the VRML97 background node, particularly the image-cube functionality represented by the rightUrl, topUrl, backUrl, leftUrl, frontUrl, and bottomUrl fields.
Fields of note within the CubeBackground object:
back, front, left, right, top, bottom -- texture objects applied to the geometry of the cube. Any node which supports the texture API should work for these attributes
backUrl, frontUrl, leftUrl, rightUrl, topUrl, bottomUrl -- texture urls (MFStrings) used to load the images above
Note: the common practice in 3DSMax for creating a cubic environment map produces useful background images, but it is often necessary to swap left and right images to work with the VRML 97 system.
class URLField( MFString ):
Cube-background URL field which forwards to the corresponding ImageTexture node's url