|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface CustomGeometryRenderable
Extended version of the basic geometry renderable for geometry classes that provide the option for internal per-primitive sorting each frame.
Geometry that implement this interface should also be able to function as normal unsorted geometry when the pipeline process does not support any form of depth sorting.
Method Summary | |
---|---|
java.lang.Object |
processCull(javax.vecmath.Matrix4f vworldTx,
javax.vecmath.Matrix4f viewTransform,
javax.vecmath.Vector4f[] viewFrustum,
float angularRes)
Process the sorting on this node now. |
void |
render(javax.media.opengl.GL gl,
java.lang.Object externalData)
Render the geometry now using the supplied extra external data, using the custom rendering routines. |
Methods inherited from interface org.j3d.aviatrix3d.rendering.GeometryRenderable |
---|
hasTransparency, render |
Methods inherited from interface org.j3d.aviatrix3d.rendering.Renderable |
---|
equals |
Methods inherited from interface java.lang.Comparable |
---|
compareTo |
Method Detail |
---|
java.lang.Object processCull(javax.vecmath.Matrix4f vworldTx, javax.vecmath.Matrix4f viewTransform, javax.vecmath.Vector4f[] viewFrustum, float angularRes)
vworldTx
- 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 viewpointviewFrustum
- The 6 planes of the view frustumangularRes
- Angular resolution of the screen, or 0 if not
calculable from the available data.
void render(javax.media.opengl.GL gl, java.lang.Object externalData)
gl
- The GL context to render withexternalData
- Some implementation-specific external data to
aid in the rendering that was generated in the processCull method.
|
Aviatrix3D 2.1.0 |
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |