|
j3d.org Aviatrix3D | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
Handles the scenegraph per-frame culling operations.
The culling phase generates a list of leaf nodes to render by removing non-required sections of the scene graph. How this culling is performed (if at all) is dependent on the implementation of this class. All that is defined is a complete scene graph as input, and a grouped set of nodes based on what must be kept together from a rendering perspective. Two typical culling approaches are view frustum and BSP. Others may also be implemented dependent on the application domain. Implementations may also work concepts that are not 3D geometry-based, such as audio and haptics.
Output is to be sent to the registered listener.
Method Summary | |
void |
cull(Scene scene,
int buffer)
Update and cull the scenegraph. |
void |
setCulledAudioReceiver(CulledAudioReceiver sgr)
Register a reciever for the output of the sorter. |
Method Detail |
public void cull(Scene scene, int buffer)
scene
- The scene instance to cullbuffer
- The buffer ID to use to output the data to when
multi-threadedpublic void setCulledAudioReceiver(CulledAudioReceiver sgr)
sgr
- The receiver instance to add or null
|
j3d.org Aviatrix3D | ||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |