| java.lang.Object javax.media.j3d.J3dStructure javax.media.j3d.RenderBin
RenderBin | class RenderBin extends J3dStructure implements ObjectUpdate(Code) | | The RenderBin is a structure that optimizes rendering by doing efficient
state sorting of objects to be rendered.
|
Method Summary | |
void | addDirtyNodeComponent(Object nc) | void | addDirtyReferenceGeometry(Object geo) | void | addDirtyRenderMolecule(RenderMolecule rm) | void | addDisplayListResourceFreeList(RenderMolecule rm) | void | addGeometryDlist(RenderAtomListInfo ra) | void | addGeometryToLockList(Object geo) | void | addNodeComponent(Object nc) | void | addTextureBin(TextureBin tb) | void | addTextureResourceFreeList(TextureRetained tex) | void | addTransparentObject(Object obj) | void | cleanup() | void | clearAllUpdateObjectState() | void | clearDirtyOrientedRAs() | TransparentRenderingInfo | collectDirtyTRInfo(TransparentRenderingInfo dirtyList, RenderAtom r) | void | compact() This method stores the timestamp of the frame frameCountCuttoff
frames ago. | TransparentRenderingInfo | computeDirtyAcrossTransparentBins(TextureBin tb, TransparentRenderingInfo startinfo) | void | computeDirtyAcrossTransparentBins(RenderAtom r) | void | convertTransparentRenderingStruct(int oldMode, int newMode) | TransparentRenderingInfo | depthSortAll(TransparentRenderingInfo startinfo) | void | dumpBin(LightBin bin) | void | dumpRM(RenderMolecule rm) | void | freeAllDisplayListResources(Canvas3D cv, Context ctx) | TransparentRenderingInfo | getTransparentInfo() | void | insertNodes(J3dMessage m) | void | lockGeometry() | TransparentRenderingInfo | mergeDepthSort(TransparentRenderingInfo oldList, TransparentRenderingInfo newList) | void | processAppearanceChanged(Object[] args) | void | processAttributeBinNodeComponentChanged(Object[] args) This processes a rendering attribute change. | void | processBoundingLeafChanged(Object[] args, long refTime) | void | processDataChanged(Object[] oldGaList, Object[] newGaList, long referenceTime) Process a Text3D data change. | void | processFogChanged(Object[] args) | void | processGeometryAtom(GeometryAtom ga, long referenceTime) | void | processGeometryAtomsChanged(Object[] gaArr) | void | processGeometryChanged(Object[] args) | void | processMessages(long referenceTime) | void | processModelClipChanged(Object[] args) | void | processMorphChanged(Object[] args, long refTime) | void | processOrientedShape3DChanged(Object[] gaArr) | void | processPossibleBinChanged(Object[] args) | void | processRenderAtomTransparentInfo(RenderAtomListInfo rinfo, ArrayList newList) | void | processRenderMoleculeNodeComponentChanged(Object[] args, int mask, int start, boolean restructure) This processes a materiala and other rendermolecule node comp change. | void | processShaderComponentChanged(Object[] args) This processes a shader component change. | void | processShapeChanged(Object[] args, long refTime) | void | processSwitchChanged(J3dMessage m, long refTime) | void | processTexCoordGenerationChanged(NodeComponentRetained nc, GeometryAtom[] gaArr) | void | processTextureAttributesChanged(NodeComponentRetained nc, GeometryAtom[] gaArr) | void | processTextureChanged(NodeComponentRetained nc, GeometryAtom[] gaArr, Object args) | void | processTextureUnitStateChanged(NodeComponentRetained nc, GeometryAtom[] gaArr) | void | processViewSpecificGroupChanged(J3dMessage m) | void | reEvaluateEnv(ArrayList mLts, ArrayList fogs, ArrayList modelClips, boolean updateDirty, boolean altAppDirty) | void | reEvaluateFog(ArrayList fogs, boolean updateDirty, boolean altAppDirty) | void | reEvaluateLights(boolean altAppDirty) | void | reEvaluateModelClip(ArrayList modelClips, boolean updateDirty, boolean altAppDirty) | void | releaseAllDisplayListID() | void | releaseGeometry() | void | removeARenderAtom(RenderAtom ra) | void | removeAllRenderAtoms() | void | removeDirtyRenderMolecule(RenderMolecule rm) | void | removeGeometryDlist(RenderAtomListInfo ra) | void | removeGeometryFromLockList(Object geo) | void | removeLightBin(LightBin lbin) | void | removeNodeComponent(Object nc) | void | removeNodes(J3dMessage m) | void | removeOrderedBin(OrderedBin ob) | void | removeRenderMolecule(RenderMolecule rm) | void | removeTextureBin(TextureBin tb) | void | removeTransparentObject(Object obj) | void | renderBackground(Canvas3D cv) This renders the background scene graph. | void | renderOpaque(Canvas3D cv) | void | renderOrdered(Canvas3D cv) | void | renderOrderedBin(Canvas3D cv, OrderedBin orderedBin, boolean doInfinite) | void | renderOrderedBins(Canvas3D cv, ArrayList bins, boolean doInfinite) | void | renderTransparent(Canvas3D cv) | void | setBackground(BackgroundRetained back) Sets the new background color. | void | setFrameCountCutoff(int cutoff) | void | updateAllRenderMolecule(Canvas3D cv) | void | updateAllRenderMolecule(Renderer rdr, Canvas3D cv) | void | updateCanvasForDirtyFog(ArrayList fogs) | void | updateCanvasForDirtyLights(ArrayList mLts) | void | updateCanvasForDirtyModelClip(ArrayList modelClips) | void | updateCanvasResource(Canvas3D[] canvases) | void | updateDirtyDisplayLists(Canvas3D cv, ArrayList rmList, ArrayList dlistPerRinfoList, ArrayList raList, boolean useSharedCtx) | void | updateDlistCanvasResource(Canvas3D[] canvases) | void | updateDlistRendererResource(Renderer rdr) | void | updateInfVworldToVpc() | public void | updateObject() | void | updateOrientedRAs() | void | updateRendererResource(Renderer rdr) | void | updateTransparentInfo(RenderAtom r) | void | updateViewPlatform(ViewPlatformRetained vp, float radius) This routine gets called whenever the position of the view platform
has changed. |
REEVALUATE_ALL_ENV | static int REEVALUATE_ALL_ENV(Code) | | |
REEVALUATE_FOG | static int REEVALUATE_FOG(Code) | | |
REEVALUATE_LIGHTS | static int REEVALUATE_LIGHTS(Code) | | |
REEVALUATE_MCLIP | static int REEVALUATE_MCLIP(Code) | | |
addOpaqueBin | LightBin addOpaqueBin(Code) | | OpaqueBins to be added for the next frame
|
afterFirst | boolean afterFirst(Code) | | To ensure that vpcToVworld is valid (not null) for the first pass
|
altAppearanceDirty | boolean altAppearanceDirty(Code) | | |
backClipActive | boolean backClipActive(Code) | | |
backClipDistanceInVworld | double backClipDistanceInVworld(Code) | | back clip distance in vworld
|
black | Color3f black(Code) | | Used when Background is null
|
cachedTranspSortMode | int cachedTranspSortMode(Code) | | |
dirtyReferenceGeomList | ArrayList dirtyReferenceGeomList(Code) | | arraylist of refernce geometry that should be locked when transparency
is on, so that we can make a mirror copy of the colors safely
|
dlistLockList | ArrayList dlistLockList(Code) | | arraylist of dlist that will be rebuilt
|
eyeInVworld | Point3d eyeInVworld(Code) | | |
frameCount | int frameCount(Code) | | These variables control when compaction occurs
|
frameCountCutoff | int frameCountCutoff(Code) | | |
lightMessageList | ArrayList lightMessageList(Code) | | A couple ArrayLists used during light Processing
|
localeChanged | boolean localeChanged(Code) | | |
localeTranslation | Vector3d localeTranslation(Code) | | |
lockGeometryList | ArrayList lockGeometryList(Code) | | arraylist of geometry that should be locked to ensure
that the same snapshot of the geometry is rendered
across all canvases
|
maxLights | int maxLights(Code) | | The number of lights supported by the underlying context.
|
notVisibleCount | int notVisibleCount(Code) | | |
obList | ArrayList obList(Code) | | list of ordered bins from which orderedCollection are added/removed
|
objUpdateList | ArrayList objUpdateList(Code) | | ArrayList of objects to be updated
|
ogCIOList | ArrayList ogCIOList(Code) | | list of affect OrderedGroups with childIndexOrder changed.
|
positionDirtyList | ArrayList positionDirtyList(Code) | | List of RenderAtoms whose postion have changed - only used for
depth sorted transparency
|
reEvaluateClip | boolean reEvaluateClip(Code) | | |
reEvaluateSortMode | boolean reEvaluateSortMode(Code) | | |
reactivateView | boolean reactivateView(Code) | | |
removeCutoffTime | long removeCutoffTime(Code) | | |
removeRenderAtomInRMList | IndexedUnorderSet removeRenderAtomInRMList(Code) | | remove the bins first before adding them to new ones
|
rmUpdateList | ArrayList rmUpdateList(Code) | | List of renderMolecules that are soleUser
have to do a 2 pass, first update values
then sort based on equivalent material
|
sBinUpdateList | ArrayList sBinUpdateList(Code) | | List of ShaderBin that are soleUser that
needs to have its components updated @updateObject time
|
tbUpdateList | ArrayList tbUpdateList(Code) | | List of TextureBin that are soleUser that
needs to have its components updated @updateObject time
|
transformMsg | boolean transformMsg(Code) | | variables to process transform messages
|
transpSortMode | int transpSortMode(Code) | | |
updateCheckList | ArrayList updateCheckList(Code) | | List of Bins that are soleUser that have new renderAtom
added into, which requires a pre-update screening to
check if any of its node component changes could have been
missed because the changes happen when all the render atoms
are temporarily removed from the bin.
|
viewFrustumBBox | BoundingBox viewFrustumBBox(Code) | | To cache the view frustum bounding box.
|
vpSchedSphereInVworld | BoundingSphere vpSchedSphereInVworld(Code) | | Two bounding spheres to track the scheduling region of
the view platform.
|
vpcToVworldDirty | boolean vpcToVworldDirty(Code) | | |
white | Color3f white(Code) | | Used when ColoringAttributes is null
|
addDirtyNodeComponent | void addDirtyNodeComponent(Object nc)(Code) | | |
addDirtyReferenceGeometry | void addDirtyReferenceGeometry(Object geo)(Code) | | |
addGeometryToLockList | void addGeometryToLockList(Object geo)(Code) | | |
addTransparentObject | void addTransparentObject(Object obj)(Code) | | |
clearAllUpdateObjectState | void clearAllUpdateObjectState()(Code) | | |
clearDirtyOrientedRAs | void clearDirtyOrientedRAs()(Code) | | |
compact | void compact()(Code) | | This method stores the timestamp of the frame frameCountCuttoff
frames ago. It also does compaction if it is needed.
|
computeDirtyAcrossTransparentBins | void computeDirtyAcrossTransparentBins(RenderAtom r)(Code) | | |
convertTransparentRenderingStruct | void convertTransparentRenderingStruct(int oldMode, int newMode)(Code) | | |
lockGeometry | void lockGeometry()(Code) | | |
processAppearanceChanged | void processAppearanceChanged(Object[] args)(Code) | | This routine get called whenever a component of the appearance
changes
|
processAttributeBinNodeComponentChanged | void processAttributeBinNodeComponentChanged(Object[] args)(Code) | | This processes a rendering attribute change.
|
processBoundingLeafChanged | void processBoundingLeafChanged(Object[] args, long refTime)(Code) | | This routine get called whenever a region of the boundingleaf
changes
|
processDataChanged | void processDataChanged(Object[] oldGaList, Object[] newGaList, long referenceTime)(Code) | | Process a Text3D data change. This involves removing all the
old geometry atoms in the list, and the creating new ones.
|
processFogChanged | void processFogChanged(Object[] args)(Code) | | |
processGeometryAtomsChanged | void processGeometryAtomsChanged(Object[] gaArr)(Code) | | This routine removes the GeometryAtoms from RenderBin
|
processGeometryChanged | void processGeometryChanged(Object[] args)(Code) | | process Geometry changed, mark the display list
in which renderMolecule is as dirty
|
processMessages | void processMessages(long referenceTime)(Code) | | |
processModelClipChanged | void processModelClipChanged(Object[] args)(Code) | | |
processMorphChanged | void processMorphChanged(Object[] args, long refTime)(Code) | | |
processOrientedShape3DChanged | void processOrientedShape3DChanged(Object[] gaArr)(Code) | | |
processPossibleBinChanged | void processPossibleBinChanged(Object[] args)(Code) | | Transparency/Line/point/Poly attributes is different from other renderMolecule
attributes since the renderatom could move from opaque bin
to transparent bin
|
processRenderMoleculeNodeComponentChanged | void processRenderMoleculeNodeComponentChanged(Object[] args, int mask, int start, boolean restructure)(Code) | | This processes a materiala and other rendermolecule node comp change.
|
processShaderComponentChanged | void processShaderComponentChanged(Object[] args)(Code) | | This processes a shader component change.
|
processShapeChanged | void processShapeChanged(Object[] args, long refTime)(Code) | | |
processSwitchChanged | void processSwitchChanged(J3dMessage m, long refTime)(Code) | | |
processViewSpecificGroupChanged | void processViewSpecificGroupChanged(J3dMessage m)(Code) | | |
reEvaluateFog | void reEvaluateFog(ArrayList fogs, boolean updateDirty, boolean altAppDirty)(Code) | | |
reEvaluateLights | void reEvaluateLights(boolean altAppDirty)(Code) | | |
reEvaluateModelClip | void reEvaluateModelClip(ArrayList modelClips, boolean updateDirty, boolean altAppDirty)(Code) | | |
releaseAllDisplayListID | void releaseAllDisplayListID()(Code) | | |
releaseGeometry | void releaseGeometry()(Code) | | |
removeAllRenderAtoms | void removeAllRenderAtoms()(Code) | | |
removeGeometryFromLockList | void removeGeometryFromLockList(Object geo)(Code) | | |
removeNodeComponent | void removeNodeComponent(Object nc)(Code) | | |
removeTransparentObject | void removeTransparentObject(Object obj)(Code) | | |
renderBackground | void renderBackground(Canvas3D cv)(Code) | | This renders the background scene graph.
|
renderOpaque | void renderOpaque(Canvas3D cv)(Code) | | This renders the opaque objects
|
renderOrdered | void renderOrdered(Canvas3D cv)(Code) | | This renders the ordered objects
|
renderTransparent | void renderTransparent(Canvas3D cv)(Code) | | This renders the transparent objects
|
setFrameCountCutoff | void setFrameCountCutoff(int cutoff)(Code) | | This sets the number of frames to render before changing the
removeCutoffTime
|
updateAllRenderMolecule | void updateAllRenderMolecule(Canvas3D cv)(Code) | | |
updateAllRenderMolecule | void updateAllRenderMolecule(Renderer rdr, Canvas3D cv)(Code) | | This method is called to update all renderMolecule
for a shared context of a renderer
|
updateCanvasForDirtyLights | void updateCanvasForDirtyLights(ArrayList mLts)(Code) | | |
updateCanvasForDirtyModelClip | void updateCanvasForDirtyModelClip(ArrayList modelClips)(Code) | | |
updateCanvasResource | void updateCanvasResource(Canvas3D[] canvases)(Code) | | |
updateDlistCanvasResource | void updateDlistCanvasResource(Canvas3D[] canvases)(Code) | | |
updateDlistRendererResource | void updateDlistRendererResource(Renderer rdr)(Code) | | |
updateInfVworldToVpc | void updateInfVworldToVpc()(Code) | | |
updateObject | public void updateObject()(Code) | | updateObject
|
updateOrientedRAs | void updateOrientedRAs()(Code) | | |
updateRendererResource | void updateRendererResource(Renderer rdr)(Code) | | |
updateViewPlatform | void updateViewPlatform(ViewPlatformRetained vp, float radius)(Code) | | This routine gets called whenever the position of the view platform
has changed.
|
|
|