org.stellarium.landscape
Class LandscapeOldStyle
java.lang.Object
org.stellarium.landscape.Landscape
org.stellarium.landscape.LandscapeOldStyle
-
public class LandscapeOldStyle
- extends Landscape
- Version:
- $revision$
- Author:
- Jerome Beau
Method Summary |
(package private) void |
create(boolean fullPath,
java.util.Map param)
|
void |
draw(ToneReproductor eye,
DefaultProjector prj,
Navigator nav)
|
(package private) void |
drawDecor(ToneReproductor eye,
DefaultProjector prj,
Navigator nav)
Draw the mountains with a few pieces of texture
|
(package private) void |
drawFog(ToneReproductor eye,
DefaultProjector prj,
Navigator nav)
Draw the horizon fog
|
(package private) void |
drawGround(ToneReproductor eye,
DefaultProjector prj,
Navigator nav)
Draw the ground
|
protected void |
load(java.lang.String landscapeFile,
java.lang.String sectionName)
|
Methods inherited from class org.stellarium.landscape.Landscape |
createFromFile,
createFromHash, getAuthorName, getDescription, getDouble,
getFileContent, getFlagShow, getFlagShowFog, getInt, getInt,
getLandscapeNames,
getName, getStr, getStr,
loadCommon,
nameToKey,
setFlagShow, setFlagShowFog, setSkyBrightness, update |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sideTexs
STexture[] sideTexs
nbSideTexs
int nbSideTexs
nbSide
int nbSide
sides
LandscapeTexCoord[] sides
fogTex
STexture fogTex
fogTexCoord
LandscapeTexCoord fogTexCoord
groundTex
STexture groundTex
groundTexCoord
LandscapeTexCoord groundTexCoord
nbDecorRepeat
int nbDecorRepeat
fogAltAngle
double fogAltAngle
fogAngleShift
double fogAngleShift
decorAltAngle
double decorAltAngle
decorAngleShift
double decorAngleShift
decorAngleRotateZ
double decorAngleRotateZ
groundAngleShift
double groundAngleShift
groundAngleRotateZ
double groundAngleRotateZ
drawGroundFirst
boolean drawGroundFirst
LandscapeOldStyle
public LandscapeOldStyle()
- Default constructor with radius of 2
LandscapeOldStyle
LandscapeOldStyle(float someRadius)
load
protected void load(java.lang.String landscapeFile,
java.lang.String sectionName)
throws StellariumException
-
- Specified by:
load
in class Landscape
-
- Throws:
StellariumException
create
void create(boolean fullPath,
java.util.Map param)
throws StellariumException
-
- Throws:
StellariumException
draw
public void draw(ToneReproductor eye,
DefaultProjector prj,
Navigator nav)
-
- Specified by:
draw
in class Landscape
-
drawFog
void drawFog(ToneReproductor eye,
DefaultProjector prj,
Navigator nav)
- Draw the horizon fog
-
- Parameters:
eye
-
prj
-
nav
-
drawDecor
void drawDecor(ToneReproductor eye,
DefaultProjector prj,
Navigator nav)
- Draw the mountains with a few pieces of texture
-
- Parameters:
eye
-
prj
-
nav
-
drawGround
void drawGround(ToneReproductor eye,
DefaultProjector prj,
Navigator nav)
- Draw the ground
-
- Parameters:
eye
-
prj
-
nav
-