Main Page | Namespace List | Class Hierarchy | Alphabetical List | Class List | Directories | File List | Class Members | File Members | Related Pages

Sky.h File Reference

Defines CSkyManager and related classes for rendering of sky. More...

#include "FlyLegacy.h"
#include "Ephemeris.h"
#include "Ini.h"
#include "Utility.h"
#include <string>
#include <vector>
#include <map>

Go to the source code of this file.

Classes

class  CSkyLight
struct  SPerezCoefficients
struct  SCoefficientParameters
struct  SLuminanceZenith
struct  SChromaZenith
struct  SPerezParameters
class  CSkyDomeImage
struct  SStarData
struct  SConstellationLine
class  CStarImages
class  CMoonImage
class  CSolImage
class  CMercuryImage
class  CVenusImage
class  CMarsImage
class  CJupiterImage
class  CSaturnImage
class  CSkyManager

Defines

#define SKYDOME_SLICES   64
#define SKYDOME_STACKS   32

Enumerations

enum  EDarkPhase {
  PHASE_INVALID = -1, PHASE_DEEP_NIGHT = 0, PHASE_NIGHT = 1, PHASE_LATE_DUSK = 2,
  PHASE_DUSK = 3, PHASE_EARLY_DUSK = 4, PHASE_LATE_TWILIGHT = 5, PHASE_EARLY_TWILIGHT = 6,
  PHASE_DAYLIGHT = 7
}


Detailed Description

These classes implement the visual model for realistic sky, including:

Future:

The design and implementation of these classes is based heavily on the sky model of SimGear 0.3.3, by Curtis Olson. Integration into the Fly! Legacy project necessitated a rewrite of the actual classes, but I am indebteded to Curt and other contributors to the SimGear and FlightGear teams for their prior work in this area.

Definition in file Sky.h.


Define Documentation

#define SKYDOME_SLICES   64
 

Definition at line 142 of file Sky.h.

Referenced by CSkyDomeImage::CSkyDomeImage(), and CSkyDomeImage::Repaint().

#define SKYDOME_STACKS   32
 

Definition at line 143 of file Sky.h.

Referenced by CSkyDomeImage::CSkyDomeImage(), and CSkyDomeImage::Repaint().


Enumeration Type Documentation

enum EDarkPhase
 

Enumerator:
PHASE_INVALID 
PHASE_DEEP_NIGHT 
PHASE_NIGHT 
PHASE_LATE_DUSK 
PHASE_DUSK 
PHASE_EARLY_DUSK 
PHASE_LATE_TWILIGHT 
PHASE_EARLY_TWILIGHT 
PHASE_DAYLIGHT 

Definition at line 182 of file Sky.h.

SourceForge.net Logo Documentation generated by doxygen