|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CustomCullable
Marker interface that represent a generic node that is capable of deciding whether it should cull it children.
This interface is used for a generic rendering scheme for when more specific
nodes and CullStage
combination are not
being implemented. Due to the extra overheads of copies to and from the
matrices, using this interface is not the most efficient way of implementing
a rendering strategy.
Angular resolution may not be calculable from the available input data. For example, an explicit viewport size is not yet available from the screen, or the user has set the field of view to -1.
Method Summary | |
---|---|
void |
cullChildren(CullInstructions output,
javax.vecmath.Matrix4f vworldTx,
javax.vecmath.Matrix4f viewTransform,
javax.vecmath.Vector4f[] frustumPlanes,
float angularRes)
Check this node for children to traverse. |
Method Detail |
---|
void cullChildren(CullInstructions output, javax.vecmath.Matrix4f vworldTx, javax.vecmath.Matrix4f viewTransform, javax.vecmath.Vector4f[] frustumPlanes, float angularRes)
output
- Fill in the child information herevworldTx
- The transformation from the root of the scene to
this node according to the current traversal pathviewTransform
- The transformation from the root of the scene
graph to the active viewpointfrustumPlanes
- Listing of frustum planes in the order: right,
left, bottom, top, far, nearangularRes
- Angular resolution of the screen, or 0 if not
calculable from the available data.
|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |