Package gaiasky.render
Class SGRCubemap
java.lang.Object
gaiasky.render.SGRAbstract
gaiasky.render.SGRCubemap
- Direct Known Subclasses:
SGRCubemapProjections
public abstract class SGRCubemap extends SGRAbstract
-
Field Summary
Fields Modifier and Type Field Description protected float
angleFromZenith
protected com.badlogic.gdx.math.Vector3
aux1
protected com.badlogic.gdx.math.Vector3
aux2
protected com.badlogic.gdx.math.Vector3
aux3
protected com.badlogic.gdx.math.Vector3
dirbak
protected com.badlogic.gdx.math.Vector3
dirUpCrs
protected java.util.Map<java.lang.Integer,com.badlogic.gdx.graphics.glutils.FrameBuffer>
fbcm
protected float
fovBak
protected com.badlogic.gdx.utils.viewport.StretchViewport
stretchViewport
protected com.badlogic.gdx.math.Vector3
upbak
protected com.badlogic.gdx.graphics.glutils.FrameBuffer
xnegfb
protected boolean
xnegFlag
protected com.badlogic.gdx.graphics.glutils.FrameBuffer
xposfb
protected boolean
xposFlag
protected com.badlogic.gdx.graphics.glutils.FrameBuffer
ynegfb
protected boolean
ynegFlag
protected com.badlogic.gdx.graphics.glutils.FrameBuffer
yposfb
protected boolean
yposFlag
protected com.badlogic.gdx.graphics.glutils.FrameBuffer
znegfb
protected boolean
znegFlag
protected com.badlogic.gdx.graphics.glutils.FrameBuffer
zposfb
protected boolean
zposFlag
Fields inherited from class gaiasky.render.SGRAbstract
extendViewport, rc, resultBuffer
-
Constructor Summary
Constructors Modifier Constructor Description protected
SGRCubemap()
-
Method Summary
Modifier and Type Method Description protected 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(SceneGraphRenderer sgr, ICamera camera, double t, int rw, int rh, IPostProcessor.PostProcessBean ppb)
protected void
renderFace(com.badlogic.gdx.graphics.glutils.FrameBuffer fb, ICamera camera, SceneGraphRenderer sgr, IPostProcessor.PostProcessBean ppb, int rw, int rh, int wh, double t)
protected void
renderRegularFace(com.badlogic.gdx.graphics.glutils.FrameBuffer fb, ICamera camera, SceneGraphRenderer sgr, IPostProcessor.PostProcessBean ppb, int rw, int rh, int wh, double t)
Methods inherited from class gaiasky.render.SGRAbstract
getRenderingContext, getResultBuffer, postProcessCapture, postProcessRender, sendOrientationUpdate
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
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 -
dirbak
protected com.badlogic.gdx.math.Vector3 dirbak -
upbak
protected com.badlogic.gdx.math.Vector3 upbak -
dirUpCrs
protected com.badlogic.gdx.math.Vector3 dirUpCrs -
stretchViewport
protected com.badlogic.gdx.utils.viewport.StretchViewport stretchViewport -
fbcm
protected java.util.Map<java.lang.Integer,com.badlogic.gdx.graphics.glutils.FrameBuffer> fbcm -
fovBak
protected float fovBak -
angleFromZenith
protected float angleFromZenith -
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
-
-
Constructor Details
-
SGRCubemap
protected SGRCubemap()
-
-
Method Details
-
renderCubemapSides
protected void renderCubemapSides(SceneGraphRenderer 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, SceneGraphRenderer sgr, IPostProcessor.PostProcessBean ppb, int rw, int rh, int wh, double t) -
renderRegularFace
protected void renderRegularFace(com.badlogic.gdx.graphics.glutils.FrameBuffer fb, ICamera camera, SceneGraphRenderer 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)
-