Aviatrix3D
2.1.0

org.j3d.aviatrix3d.rendering
Interface CustomCullable

All Superinterfaces:
Cullable
All Known Implementing Classes:
Billboard, LODGroup, MarkerGroup, OctTree

public interface CustomCullable
extends Cullable

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.

Version:
$Revision: 2.1 $
Author:
Justin Couch

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

cullChildren

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. The angular resolution is defined as Field Of View (in radians) / viewport width in pixels.

Parameters:
output - Fill in the child information here
vworldTx - The transformation from the root of the scene to this node according to the current traversal path
viewTransform - The transformation from the root of the scene graph to the active viewpoint
frustumPlanes - Listing of frustum planes in the order: right, left, bottom, top, far, near
angularRes - Angular resolution of the screen, or 0 if not calculable from the available data.

Aviatrix3D
2.1.0

Latest Info from http://aviatrix3d.j3d.org/
Copyright © 2003 - 2009 j3d.org