24 #ifndef _SkyX_AtmosphereManager_H_
25 #define _SkyX_AtmosphereManager_H_
42 Ogre::Real InnerRadius;
44 Ogre::Real OuterRadius;
46 Ogre::Real HeightPosition;
49 Ogre::Real RayleighMultiplier;
51 Ogre::Real MieMultiplier;
53 Ogre::Real SunIntensity;
56 Ogre::Vector3 WaveLength;
70 : InnerRadius(9.77501f)
71 , OuterRadius(10.2963f)
72 , HeightPosition(0.01f)
73 , RayleighMultiplier(0.0022f)
74 , MieMultiplier(0.000675f)
76 , WaveLength(Ogre::Vector3(0.57f, 0.54f, 0.44f))
95 Options(
const Ogre::Real& _InnerRadius,
96 const Ogre::Real& _OuterRadius,
97 const Ogre::Real& _HeightPosition,
98 const Ogre::Real& _RayleighMultiplier,
99 const Ogre::Real& _MieMultiplier,
100 const Ogre::Real& _SunIntensity,
101 const Ogre::Vector3& _WaveLength,
102 const Ogre::Real& _G,
103 const Ogre::Real& _Exposure,
104 const int& _NumerOfSamples)
105 : InnerRadius(_InnerRadius)
106 , OuterRadius(_OuterRadius)
107 , HeightPosition(_HeightPosition)
108 , RayleighMultiplier(_RayleighMultiplier)
109 , MieMultiplier(_MieMultiplier)
110 , SunIntensity(_SunIntensity)
111 , WaveLength(_WaveLength)
113 , Exposure(_Exposure)
114 , NumberOfSamples(_NumerOfSamples)
122 AtmosphereManager(
SkyX *s);
126 ~AtmosphereManager();
131 inline void setOptions(
const Options& _Options)
139 inline const Options& getOptions()
const
148 const Ogre::Vector3 getColorAt(
const Ogre::Vector3& Direction)
const;
157 void _update(
const Options& NewOptions,
158 const bool& ForceToUpdateAll =
false);
166 float _scale(
const float& cos,
const float& uScaleDepth)
const;
SkyX(Ogre::SceneManager *sm, Controller *c)
Contructor.
#define DllExport
Include external headers.
Definition: Prerequisites.h:45