Aviatrix3D
2.1.0

org.j3d.aviatrix3d.output.graphics
Interface StereoRenderingProcessor

All Superinterfaces:
RenderingProcessor
All Known Implementing Classes:
QuadBufferStereoProcessor, SingleEyeStereoProcessor

public interface StereoRenderingProcessor
extends RenderingProcessor

Internal interface representing a renderer with stereo support.

Provides some convenient abstraction methods.

Version:
$Revision: 1.1 $
Author:
Justin Couch

Method Summary
 float getStereoEyeSeparation()
          Get the current eye separation value, defined as the distance from the center axis to one eye.
 boolean isStereoAvailable()
          Check to see whether this surface supports stereo rendering.
 void setStereoEyeSeparation(float sep)
          Set the eye separation value when rendering stereo, defined as the distance from the center axis to one eye.
 
Methods inherited from interface org.j3d.aviatrix3d.output.graphics.RenderingProcessor
addChildBuffer, addSurfaceInfoListener, disposeSingleThreadResources, enableSingleThreaded, enableTwoPassTransparentRendering, getAlphaTestCutoff, getCenterEyeInSurface, getPixelLocationInSurface, getSurfaceToVWorld, halt, isTwoPassTransparentEnabled, prepareData, reinitialize, removeChildBuffer, removeSurfaceInfoListener, render, setAlphaTestCutoff, setClearColor, setColorClearNeeded, setDrawableObjects, setErrorReporter, setOwnerBuffer, swapBuffers, updateChildBuffer
 

Method Detail

isStereoAvailable

boolean isStereoAvailable()
Check to see whether this surface supports stereo rendering. As this is not known until after initialisation, this method will return false until it can determine whether or not stereo is available.

Returns:
true Stereo support is currently available

setStereoEyeSeparation

void setStereoEyeSeparation(float sep)
Set the eye separation value when rendering stereo, defined as the distance from the center axis to one eye. The default value is 0.33 for most applications. The absolute value of the separation is always used.

Parameters:
sep - The amount of eye separation

getStereoEyeSeparation

float getStereoEyeSeparation()
Get the current eye separation value, defined as the distance from the center axis to one eye. If we are in no-stereo mode then this will return zero.

Returns:
sep The amount of eye separation

Aviatrix3D
2.1.0

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