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 voiddispose()voidnotify(Events event, java.lang.Object... data)voidrender(SceneGraphRenderer sgr, ICamera camera, double t, int rw, int rh, com.badlogic.gdx.graphics.glutils.FrameBuffer fb, IPostProcessor.PostProcessBean ppb)Renders the scenevoidresize(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:ISGRRenders the scene
-
resize
public void resize(int w, int h)Description copied from interface:ISGRResizes the assets of this renderer to the given new size
-
dispose
public void dispose()
- Specified by:
disposein interfacecom.badlogic.gdx.utils.Disposable
-
-