org.xith3d.scenegraph.primitives
Class SkyGeoSphere
java.lang.Object
org.xith3d.render.RenderPass
org.xith3d.render.BackgroundRenderPass
org.xith3d.scenegraph.primitives.SkyGeoSphere
- All Implemented Interfaces:
- org.jagatoo.datatypes.Enableable
public class SkyGeoSphere
- extends BackgroundRenderPass
A sky box is background node intended to display the sky with a far away
appearance but without consuming massive computational resources. It is drawn
with the depth buffer disabled, so all objects which are drawn after it will
be drawn in front. Even though it respects View's angle, it will always be
drawn as if the View (camera) were in its center regardless of the actual
position.
This implementation creates a sphere to provide a more realistic sky than
SkyBox. The downside to using a sphere is that you need a panoramic picture
to use as the Texture. This implementation also uses GeoSphere geometry so
that it doesn't create a ridiculous number of triangles.
This class ignores the default setting for pickable and sets itself to NOT
pickable. You must explicitly call setPickable( true ) on SkyGeoSphere
nodes regardless of the default setting.
Originally inspired by William Denniss's SkyBox.
| Methods inherited from class org.xith3d.render.BackgroundRenderPass |
createParallel, createParallel, createParallel, createParallel, createParallel, createParallel, createParallel, createParallel, createParallel, createParallel, createParallel, createParallel, createParallel, createParallel, createParallel, createParallel, createParallel, createParallel, createParallel, createParallel, createParallel, createParallel, createParallel, createParallel, createParallel, createParallel, createParallel, createParallel, createParallel, createParallel, createParallel, createParallel, createPerspective, createPerspective, createPerspective, createPerspective, createPerspective, createPerspective, createPerspective, createPerspective, createPerspective, createPerspective, createPerspective, createPerspective, createPerspective, createPerspective, createPerspective, createPerspective, createPerspective, createPerspective, createPerspective, createPerspective, createPerspective, createPerspective, createPerspective, createPerspective, isFrustumCullingEnabled, setFrustumCullingEnabled |
| Methods inherited from class org.xith3d.render.RenderPass |
addRenderCallback, create2D, create2D, create2D, create2D, create2D, create2D, create2D, create2D, create2D, create2D, create2D, create2D, create2D, create2D, create2D, create2D, create2D, create2D, create2D, create2D, create2D, create2D, create2D, create2D, createRenderBinProvider, freeOpenGLResources, freeOpenGLResources, getBranchGroup, getConfig, getRenderBinProvider, getRenderCallbackNotifier, getRenderTarget, getShadowCasterLight, isClipperEnabled, isEnabled, isLayeredModeForced, isScissorEnabled, isUnlayeredModeForced, removeRenderCallback, setBranchGroup, setClipperEnabled, setConfig, setEnabled, setLayeredModeForced, setRenderTarget, setScissorEnabled, setShadowCasterLight, setUnlayeredModeForced, switchWireframeMode |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
DEFAULT_SKY_SPLITS
public static final int DEFAULT_SKY_SPLITS
- See Also:
- Constant Field Values
X_ROTATION
public static final float X_ROTATION
- See Also:
- Constant Field Values
SkyGeoSphere
public SkyGeoSphere(int frequency,
Texture texture)
SkyGeoSphere
public SkyGeoSphere(int frequency,
java.lang.String textureName)
SkyGeoSphere
public SkyGeoSphere(Texture texture)
SkyGeoSphere
public SkyGeoSphere(java.lang.String textureName)
createSkyGeoSphereGroup
public static BranchGroup createSkyGeoSphereGroup(int frequency,
Texture texture)
createSkyGeoSphereGroup
public static final BranchGroup createSkyGeoSphereGroup(int frequency,
java.lang.String textureName)
createSkyGeoSphereGroup
public static final BranchGroup createSkyGeoSphereGroup(Texture texture)
createSkyGeoSphereGroup
public static final BranchGroup createSkyGeoSphereGroup(java.lang.String textureName)