#include <SkyDome.h>
Classes | |
struct | Star |
Public Member Functions | |
void | Create (const char *starfile, float brightness, const char *moon_texture=NULL) |
void | SetTime (const vtTime &time) |
void | SetStarFile (char *starpath) |
Additional Inherited Members | |
![]() | |
osg::Node * | m_pNode |
bool | m_bCastShadow |
A StarDome is a sphere of stars, based on real star data, implemented as Points. The intended use is to make it large and far away from the camera, so that it is always behind all the terrain and objects in the world. It also contains an image of the Moon (as a texture billboard). The Moon and Stars are moved appropriately for the time (set with SetTime).
void vtStarDome::SetTime | ( | const vtTime & | time) |
Sets the time of day (or night).
time | Time in seconds since midnight. |