OpenGLContext.passes.flatcore

Flat rendering mechanism using structural scenegraph observation
Rewritten version that should be core-profile compatible...

Classes

class FlatPass( FlatPass ):
Flat rendering pass with a single function to render scenegraph
Uses structural scenegraph observations to allow the actual rendering pass be a simple iteration over the paths known to be active in the scenegraph.
Rendering Attributes:
visible
whether we are currently rendering a visible pass
transparent
whether we are currently doing a transparent pass
lighting
whether we currently are rendering a lit pass
context
context for which we are rendering
cache
cache of the context for which we are rendering
projection
projection matrix of current view platform
modelView
model-view matrix of current view platform
viewport
4-component viewport definition for current context
frustum
viewing-frustum definition for current view platform
MAX_LIGHTS
queried maximum number of lights
passCount -- not used, always set to 0 for code that expects a passCount to be available. transform -- ignored, legacy code only