The Separator node is one of the six group Nodes. This node performs a push, or save, of the traversal state before traversing the children. It then performs a pop, or a restore, after traversing them. This action isolates, or separates, the separator's children from the rest of the objects in the scene graph.
CULLING ENUMS ON Always try to cull to the view volume OFF Never try to cull to the view volume AUTO Implementation-defined culling behavior FILE FORMAT/DEFAULTS Separator { renderCulling AUTO # SFEnum}
A separator node can include other nodes such as lights, cameras, coordinates, normals, bindings, and all other properties. Separators can be used freely within scenes with little cost.
These nodes also perform render culling. Render culling is a method that allows the node to skip over the traversal of the separator's children if they are not going to be rendered. This is determined by comparing the separator's bounding box with the current view volume. Culling itself, is then controlled by the renderCulling field. These fields are set to AUTO by default. This allows you to determine if the implementation should decide whether or not to cull.
Example Use
The following code fragment is from Cubes.wrl.
Separator {
Transform {
translation -0.01 0.016 -0.069
scaleFactor 1 1 0.89
}
Material {
ambientColor 0.08 0.1 0.06
diffuseColor 0.3 0.5 0.25
shininess 0.51
}
Cube {
width 0.42
height 0.47
depth 0.42
}
}