Aviatrix3D
2.0

org.j3d.aviatrix3d.output.graphics
Class DebugRenderingProcessor

java.lang.Object
  extended by org.j3d.aviatrix3d.output.graphics.BaseRenderingProcessor
      extended by org.j3d.aviatrix3d.output.graphics.DebugRenderingProcessor
All Implemented Interfaces:
RenderingProcessor

public class DebugRenderingProcessor
extends BaseRenderingProcessor

Handles the rendering for a single output device - be it on-screen or off.

The code expects that everything is set up before each call of the display() callback. It does not handle any recursive rendering requests as that is assumed to have been sorted out before calling this renderer.

Version:
$Revision: 3.15 $
Author:
Justin Couch

Field Summary
 
Fields inherited from class org.j3d.aviatrix3d.output.graphics.BaseRenderingProcessor
alwaysLocalClear, availableClips, availableLights, clearColor, clipIdMap, currentShaderProgramId, currentViewport, environmentList, errorReporter, eyePoint, glContext, initComplete, INITIAL_PATH_DEPTH, INVALID_SHADER, lastClipIdx, lastLightIdx, lightIdMap, LIST_START_SIZE, numRenderables, operationList, otherDataRequests, renderableList, resetColor, singleThreaded, surfaceMatrix, terminate
 
Constructor Summary
DebugRenderingProcessor(javax.media.opengl.GLContext context)
          Construct handler for rendering objects to the main screen.
 
Method Summary
 void display(GraphicsProfilingData profilingData)
          Called by the drawable to perform rendering by the client.
 void traceNextFrames(int count)
          For the next count rendered frames, output the GL state to the standard output.
 
Methods inherited from class org.j3d.aviatrix3d.output.graphics.BaseRenderingProcessor
disposeSingleThreadResources, enableSingleThreaded, getCenterEyeInSurface, getPixelLocationInSurface, getSurfaceToVWorld, halt, init, postLayerEnvironmentDraw, postMPPassEnvironmentDraw, preLayerEnvironmentDraw, preMPPassEnvironmentDraw, processRequestData, render, renderViewpoint, setClearColor, setColorClearNeeded, setDrawableObjects, setErrorReporter, setupMultipassViewport, setupViewport, swapBuffers, terminateCleanup, updateProjectionMatrix
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

DebugRenderingProcessor

public DebugRenderingProcessor(javax.media.opengl.GLContext context)
Construct handler for rendering objects to the main screen.

Parameters:
context - The context that this processor is working on
Method Detail

display

public void display(GraphicsProfilingData profilingData)
Called by the drawable to perform rendering by the client.

Specified by:
display in class BaseRenderingProcessor
Parameters:
profilingData - The timing and load data

traceNextFrames

public void traceNextFrames(int count)
For the next count rendered frames, output the GL state to the standard output. If it is currently dumping, the number will be reset to this value.

Parameters:
count - The number of frames to output the debug state.

Aviatrix3D
2.0

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