11 #include <vtdata/vtTime.h>
29 void Create(
const char *starfile,
float brightness,
30 const char *moon_texture = NULL);
33 void SetStarFile(
char *starpath);
48 vtMaterialArrayPtr m_pMats;
49 ImagePtr m_pMoonImage;
52 float RelativeBrightness;
58 float HighMag, LowMag, MagRange;
61 bool ReadStarData(
const char *starfile);
62 void ConvertStarCoord(
Star *star);
64 void AddStars(
vtMesh *geo);
65 void AddConstellation(
vtMesh *geo);
86 void Create(
const char *starfile,
int depth,
float radius,
87 const char *sun_texture = NULL,
const char *moon_texture = NULL);
89 void SetGeoLocation(
const DPoint2 &geo) { m_geo = geo; }
91 void SetDayColors(
const RGBf &horizon,
const RGBf &azimuth);
92 void SetSunsetColor(
const RGBf &sunset);
93 void SetInterpCutoff(
float cutoff);
94 void SetSunLight(
vtTransform *light) { m_pSunLight = light; }
95 void SetSunLightSource(
vtLightSource *ls) { m_pSunLightSource = ls; }
96 bool SetTexture(
const char *filename);
97 void SetStarAltitude(
float fDegrees) { m_fStarAltitude = fDegrees; }
98 void RefreshCelestialObjects();
100 void ShowMarkers(
bool bShow);
104 void CreateMarkers();
105 void UpdateSunLight();
106 void ApplyDomeColors();
107 void ConvertVertices();
112 float m_fSunAlt, m_fSunAzi;
113 float m_fStarAltitude;
120 RGBf DayHorizonCol, DayAzimuthCol, SunsetCol;
129 vtMaterialArrayPtr m_pMats;
136 ImagePtr m_pSunImage;
152 #endif // VTLIB_SKYDOMEH