org.stellarium.landscape
Class StelAtmosphere
java.lang.Object
org.stellarium.landscape.StelAtmosphere
-
public class StelAtmosphere
- extends java.lang.Object
- Version:
- 0.8.2
- Author:
- Jerome Beau, Fred Simon
Method Summary |
void |
computeColor(double JD,
javax.vecmath.Point3d sunPos, javax.vecmath.Point3d moonPos, double moonPhase, ToneReproductor eye,
Projector prj, double latitude, double altitude,
double temperature, double relativeHumidity)
|
void |
computeColor(double JD,
javax.vecmath.Point3d sunPos, javax.vecmath.Point3d moonPos, float moon_phase, ToneReproductor eye,
Projector prj)
|
void |
computeColor(double JD,
javax.vecmath.Point3d sunPos, javax.vecmath.Point3d moonPos, float moon_phase, ToneReproductor eye,
Projector prj, double latitude, double altitude)
|
void |
draw(Projector prj, int delta_time)
Draw the atmosphere using the precalc values stored in
tab_sky
|
float |
getFadeDuration()
|
float |
getFadeIntensity()
|
boolean |
getFlagShow()
|
double |
getIntensity()
|
(package private) double |
getMilkywayAdaptationLuminance()
|
double |
getWorldAdaptationLuminance()
|
void |
setFadeDuration(float duration)
|
void |
setFlagShow(boolean b)
|
void |
show(boolean b)
|
void |
update(int delta_time)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
sky
private Skylight sky
skyb
private SkyBright skyb
skyResolution
private int skyResolution
tabSky
private javax.vecmath.Vector3d[][] tabSky
startY
private int startY
worldAdaptationLuminance
double worldAdaptationLuminance
milkywayAdaptationLuminance
double milkywayAdaptationLuminance
atmIntensity
private float atmIntensity
fader
ParabolicFader fader
StelAtmosphere
public StelAtmosphere()
show
public void show(boolean b)
-
getIntensity
public double getIntensity()
-
computeColor
public void computeColor(double JD,
javax.vecmath.Point3d sunPos,
javax.vecmath.Point3d moonPos,
float moon_phase,
ToneReproductor eye,
Projector prj)
-
computeColor
public void computeColor(double JD,
javax.vecmath.Point3d sunPos,
javax.vecmath.Point3d moonPos,
float moon_phase,
ToneReproductor eye,
Projector prj,
double latitude,
double altitude)
-
computeColor
public void computeColor(double JD,
javax.vecmath.Point3d sunPos,
javax.vecmath.Point3d moonPos,
double moonPhase,
ToneReproductor eye,
Projector prj,
double latitude,
double altitude,
double temperature,
double relativeHumidity)
-
draw
public void draw(Projector prj,
int delta_time)
- Draw the atmosphere using the precalc values stored in tab_sky
-
update
public void update(int delta_time)
-
setFadeDuration
public void setFadeDuration(float duration)
-
getFadeDuration
public float getFadeDuration()
-
setFlagShow
public void setFlagShow(boolean b)
-
getFlagShow
public boolean getFlagShow()
-
getFadeIntensity
public float getFadeIntensity()
-
getWorldAdaptationLuminance
public double getWorldAdaptationLuminance()
-
getMilkywayAdaptationLuminance
double getMilkywayAdaptationLuminance()
-