j3d.org Aviatrix3D

org.j3d.aviatrix3d
Interface RenderEffectsProcessor


public interface RenderEffectsProcessor

Observer of the rendering system that is informed of pre and post rendering timing so that it may perform it's own additional drawing operations.

The idea is to allow various pre and post-processing activities to be performed on individual output surfaces (not just limited to the on-screen drawable, but also with pBuffers etc). An example is a full-screen jitter, blur effect or even fades/wipes between scenes. Currently the interface is very experimental.

Version:
$Revision: 1.1 $
Author:
Justin Couch

Method Summary
 void postDraw(net.java.games.jogl.GLDrawable drawable, java.lang.Object userData)
          Perform any post-rendering actions that you may need for this scene.
 void preDraw(net.java.games.jogl.GLDrawable drawable, java.lang.Object userData)
          Perform any pre-rendering setup that you may need for this scene.
 

Method Detail

preDraw

public void preDraw(net.java.games.jogl.GLDrawable drawable,
                    java.lang.Object userData)
Perform any pre-rendering setup that you may need for this scene. After this call, all normal scene graph rendering is performed by the surface.

Parameters:
drawable - The output surface that is being drawn to
userData - Some identifiable data provided by the user

postDraw

public void postDraw(net.java.games.jogl.GLDrawable drawable,
                     java.lang.Object userData)
Perform any post-rendering actions that you may need for this scene. Called after the renderer has completed all drawing and just before the buffer swap. The only thing to be called after calling this method is glFlush().

Parameters:
drawable - The output surface that is being drawn to
userData - Some identifiable data provided by the user

j3d.org Aviatrix3D

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