rgl (version 0.67-2)

scene: scene management

Description

Clear shapes, lights, bbox

Usage

clear3d( type = c("shapes", "bboxdeco") ) 
rgl.clear( type = "shapes" )
pop3d( ... )
rgl.pop( type = "shapes" )

Arguments

type
Select subtype(s): [object Object],[object Object],[object Object],[object Object],[object Object]
...
generic arguments passed through to RGL-specific (or other) functions

Details

RGL holds two stacks. One is for shapes and the other is for lights. clear3d and rgl.clear clear the specified stack, or restore the defaults for the bounding box (not visible) or viewpoint. rgl.pop removes the top-most (last added) node on the shape stack.

Note that clearing the light stack leaves the scene in darkness; it should normally be followed by a call to rgl.light or light3d.

See Also

rgl rgl.bbox rgl.light