Package gaiasky.render.process
Class RenderModeCubemap
java.lang.Object
gaiasky.render.process.RenderModeAbstract
gaiasky.render.process.RenderModeCubemap
- Direct Known Subclasses:
RenderModeCubemapProjections
Scene graph renderer that renders six scenes in the six cartesian
directions (front, back, right, left, up, down) to a cubemap.
-
Field Summary
Modifier and TypeFieldDescriptionprotected float
protected com.badlogic.gdx.math.Vector3
protected com.badlogic.gdx.math.Vector3
protected com.badlogic.gdx.math.Vector3
protected com.badlogic.gdx.math.Vector3
protected com.badlogic.gdx.math.Vector3
protected com.badlogic.gdx.math.Vector3
protected float
protected com.badlogic.gdx.utils.viewport.StretchViewport
protected com.badlogic.gdx.math.Vector3
protected com.badlogic.gdx.math.Vector3
protected com.badlogic.gdx.graphics.glutils.FrameBuffer
protected boolean
protected com.badlogic.gdx.graphics.glutils.FrameBuffer
protected boolean
protected com.badlogic.gdx.graphics.glutils.FrameBuffer
protected boolean
protected com.badlogic.gdx.graphics.glutils.FrameBuffer
protected boolean
protected com.badlogic.gdx.graphics.glutils.FrameBuffer
protected boolean
protected com.badlogic.gdx.graphics.glutils.FrameBuffer
protected boolean
Fields inherited from class gaiasky.render.process.RenderModeAbstract
extendViewport, rc, resultBuffer
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionprotected com.badlogic.gdx.graphics.glutils.FrameBuffer
getFrameBuffer
(int w, int h) protected com.badlogic.gdx.graphics.glutils.FrameBuffer
getFrameBuffer
(int w, int h, int extra) protected int
getKey
(int w, int h, int extra) protected void
postRender
(com.badlogic.gdx.graphics.glutils.FrameBuffer fb) protected void
renderCubemapSides
(ISceneRenderer sgr, ICamera camera, double t, int rw, int rh, IPostProcessor.PostProcessBean ppb) protected void
renderFace
(com.badlogic.gdx.graphics.glutils.FrameBuffer fb, ICamera camera, ISceneRenderer sgr, IPostProcessor.PostProcessBean ppb, int rw, int rh, int wh, double t) protected void
renderRegularFace45
(com.badlogic.gdx.graphics.glutils.FrameBuffer fb, ICamera camera, ISceneRenderer sgr, IPostProcessor.PostProcessBean ppb, int rw, int rh, int wh, double t) protected void
renderRegularFace90
(com.badlogic.gdx.graphics.glutils.FrameBuffer fb, ICamera camera, ISceneRenderer sgr, IPostProcessor.PostProcessBean ppb, int rw, int rh, int wh, double t) Methods inherited from class gaiasky.render.process.RenderModeAbstract
getRenderingContext, getResultBuffer, postProcessCapture, postProcessRender, sendOrientationUpdate
-
Field Details
-
aux1
protected com.badlogic.gdx.math.Vector3 aux1 -
aux2
protected com.badlogic.gdx.math.Vector3 aux2 -
aux3
protected com.badlogic.gdx.math.Vector3 aux3 -
dirEffective
protected com.badlogic.gdx.math.Vector3 dirEffective -
upEffective
protected com.badlogic.gdx.math.Vector3 upEffective -
dirBackup
protected com.badlogic.gdx.math.Vector3 dirBackup -
upBackup
protected com.badlogic.gdx.math.Vector3 upBackup -
dirUpCrs
protected com.badlogic.gdx.math.Vector3 dirUpCrs -
stretchViewport
protected com.badlogic.gdx.utils.viewport.StretchViewport stretchViewport -
frameBufferCubeMap
-
fovBackup
protected float fovBackup -
zPosFb
protected com.badlogic.gdx.graphics.glutils.FrameBuffer zPosFb -
zNegFb
protected com.badlogic.gdx.graphics.glutils.FrameBuffer zNegFb -
xPosFb
protected com.badlogic.gdx.graphics.glutils.FrameBuffer xPosFb -
xNegFb
protected com.badlogic.gdx.graphics.glutils.FrameBuffer xNegFb -
yPosFb
protected com.badlogic.gdx.graphics.glutils.FrameBuffer yPosFb -
yNegFb
protected com.badlogic.gdx.graphics.glutils.FrameBuffer yNegFb -
zPosFlag
protected boolean zPosFlag -
zNegFlag
protected boolean zNegFlag -
xPosFlag
protected boolean xPosFlag -
xNegFlag
protected boolean xNegFlag -
yPosFlag
protected boolean yPosFlag -
yNegFlag
protected boolean yNegFlag -
angleFromZenith
protected float angleFromZenith
-
-
Constructor Details
-
RenderModeCubemap
protected RenderModeCubemap()
-
-
Method Details
-
renderCubemapSides
protected void renderCubemapSides(ISceneRenderer sgr, ICamera camera, double t, int rw, int rh, IPostProcessor.PostProcessBean ppb) -
postRender
protected void postRender(com.badlogic.gdx.graphics.glutils.FrameBuffer fb) -
renderFace
protected void renderFace(com.badlogic.gdx.graphics.glutils.FrameBuffer fb, ICamera camera, ISceneRenderer sgr, IPostProcessor.PostProcessBean ppb, int rw, int rh, int wh, double t) -
renderRegularFace45
protected void renderRegularFace45(com.badlogic.gdx.graphics.glutils.FrameBuffer fb, ICamera camera, ISceneRenderer sgr, IPostProcessor.PostProcessBean ppb, int rw, int rh, int wh, double t) -
renderRegularFace90
protected void renderRegularFace90(com.badlogic.gdx.graphics.glutils.FrameBuffer fb, ICamera camera, ISceneRenderer sgr, IPostProcessor.PostProcessBean ppb, int rw, int rh, int wh, double t) -
getKey
protected int getKey(int w, int h, int extra) -
getFrameBuffer
protected com.badlogic.gdx.graphics.glutils.FrameBuffer getFrameBuffer(int w, int h) -
getFrameBuffer
protected com.badlogic.gdx.graphics.glutils.FrameBuffer getFrameBuffer(int w, int h, int extra)
-