Package gaia.cu9.ari.gaiaorbit.render
Class SGRStereoscopic
- java.lang.Object
-
- gaia.cu9.ari.gaiaorbit.render.SGRAbstract
-
- gaia.cu9.ari.gaiaorbit.render.SGRStereoscopic
-
public class SGRStereoscopic extends SGRAbstract implements ISGR, IObserver
Renders all the 3D/stereoscopic modes. Renders basically two scenes, one for each eye, and then blends them together on screen with the necessary processing depending on the 3D regime (anaglyphic, 3dtv, crosseye, vr).
-
-
Field Summary
-
Fields inherited from class gaia.cu9.ari.gaiaorbit.render.SGRAbstract
extendViewport, rc
-
-
Constructor Summary
Constructors Constructor Description SGRStereoscopic()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
dispose()
void
notify(Events event, java.lang.Object... data)
void
render(SceneGraphRenderer sgr, ICamera camera, double t, int rw, int rh, com.badlogic.gdx.graphics.glutils.FrameBuffer fb, IPostProcessor.PostProcessBean ppb)
Renders the scenevoid
resize(int w, int h)
Resizes the assets of this renderer to the given new size-
Methods inherited from class gaia.cu9.ari.gaiaorbit.render.SGRAbstract
postprocessCapture, postprocessRender
-
-
-
-
Method Detail
-
render
public void render(SceneGraphRenderer sgr, ICamera camera, double t, int rw, int rh, com.badlogic.gdx.graphics.glutils.FrameBuffer fb, IPostProcessor.PostProcessBean ppb)
Description copied from interface:ISGR
Renders the scene
-
resize
public void resize(int w, int h)
Description copied from interface:ISGR
Resizes the assets of this renderer to the given new size
-
dispose
public void dispose()
- Specified by:
dispose
in interfacecom.badlogic.gdx.utils.Disposable
-
-