61 public Ogre::RenderTargetListener
66 struct RenderQueueGroups
74 inline RenderQueueGroups(
const Ogre::uint8& s,
const Ogre::uint8& vc,
75 const Ogre::uint8& vcl)
110 SkyX(Ogre::SceneManager* sm, Controller* c);
132 void update(
const Ogre::Real &timeSinceLastFrame);
VCloudsManager * getVCloudsManager()
Get volumetric clouds manager.
Definition: SkyX.h:228
bool mEnabled
True if skyx is enabled.
Definition: SkyX.h:449
const bool & isVisible() const
Is SkyX visible?
Definition: SkyX.h:160
void setLightingMode(const LightingMode &lm)
Set lighting mode.
bool mStarfield
Enable starfield?
Definition: SkyX.h:392
void setInfiniteCameraFarClipDistance(const Ogre::Real &d)
Set infinite camera far clip distance.
Definition: SkyX.h:307
Ogre::Real mTimeMultiplier
Time multiplier.
Definition: SkyX.h:435
Ogre::Camera * getCamera()
Get current rendering camera.
Definition: SkyX.h:331
High dynamic range.
Definition: SkyX.h:103
bool getMoonEnabled()
Definition: SkyX.h:373
void setTimeMultiplier(const Ogre::Real &TimeMultiplier)
Set time multiplier.
Definition: SkyX.h:171
Ogre::uint8 vclouds
VClouds render queue group.
Definition: SkyX.h:83
bool frameStarted(const Ogre::FrameEvent &evt)
Frame started.
void setController(Controller *c)
Set controller.
Definition: SkyX.h:236
const bool & isStarfieldEnabled() const
Is the starfield enable?
Definition: SkyX.h:295
const RenderQueueGroups & getRenderQueueGroups() const
Get render queue groups.
Definition: SkyX.h:262
void create()
Create SkyX.
Ogre::uint8 skydome
Skydome render queue group (Note: Moon = skydome_render_queue+1)
Definition: SkyX.h:81
Ogre::uint8 vcloudsLightnings
VClouds lightnings render queue group.
Definition: SkyX.h:85
void notifyCameraRender(Ogre::Camera *c)
Notify camera render (to be invoked per camera and per frame)
bool mCloudsEnabled
True if clouds are enabled.
Definition: SkyX.h:446
AtmosphereManager * mAtmosphereManager
Atmosphere manager.
Definition: SkyX.h:410
Low dynamic range.
Definition: SkyX.h:101
Ogre::SceneManager * getSceneManager()
Get scene manager.
Definition: SkyX.h:323
VCloudsManager * mVCloudsManager
Volumetric clouds manager.
Definition: SkyX.h:440
Ogre::Vector3 mLastCameraPosition
Last camera position.
Definition: SkyX.h:425
Ogre::Camera * mCamera
Current rendering camera.
Definition: SkyX.h:404
bool mMoonEnabled
True if moon is enabled.
Definition: SkyX.h:443
Ogre::Real mInfiniteCameraFarClipDistance
Infinite camera far clip distance.
Definition: SkyX.h:429
const Ogre::Real & getTimeMultiplier() const
Get time multiplier.
Definition: SkyX.h:180
Controller * getController() const
Get current controller.
Definition: SkyX.h:249
GPUManager * getGPUManager()
Get GPU manager.
Definition: SkyX.h:204
LightingMode
Lighting mode enumeration SkyX is designed for true HDR rendering, but there is a big number of appli...
Definition: SkyX.h:98
const Ogre::Real & _getTimeOffset() const
Get time offset.
Definition: SkyX.h:350
const bool & getDeleteBySkyX() const
Must the controller be destroyed by SkyX?
Definition: Controller.h:76
AtmosphereManager * getAtmosphereManager()
Get atmosphere manager.
Definition: SkyX.h:196
MoonManager * mMoonManager
Moon manager.
Definition: SkyX.h:414
SkyX(Ogre::SceneManager *sm, Controller *c)
Contructor.
const Ogre::Real & getInfiniteCameraFarClipDistance() const
Get infinite cmaera far clip distance.
Definition: SkyX.h:315
CloudsManager * mCloudsManager
Clouds manager.
Definition: SkyX.h:416
void setEnabled(bool _enabled)
Definition: SkyX.h:355
void preViewportUpdate(const Ogre::RenderTargetViewportEvent &evt)
Fired before update a render target viewport.
void setRenderQueueGroups(const RenderQueueGroups &rqg)
Set render queue groups.
Controller base class.
Definition: Controller.h:33
const LightingMode & getLightingMode() const
Get lighting mode.
Definition: SkyX.h:282
bool mCreated
Is SkyX created?
Definition: SkyX.h:422
LightingMode mLightingMode
Lighting mode.
Definition: SkyX.h:395
bool getEnabled()
Definition: SkyX.h:362
void setCloudsEnabled(bool _enabled)
Definition: SkyX.h:378
RenderQueueGroups mRenderQueueGroups
Render queue groups.
Definition: SkyX.h:419
MeshManager * mMeshManager
Mesh manager.
Definition: SkyX.h:407
Ogre::Real mTimeOffset
Time offset.
Definition: SkyX.h:437
MeshManager * getMeshManager()
Get mesh manager.
Definition: SkyX.h:188
void setMoonEnabled(bool _enabled)
Definition: SkyX.h:367
MoonManager * getMoonManager()
Get moon manager.
Definition: SkyX.h:212
void setVisible(const bool &visible)
Set visible.
CloudsManager * getCloudsManager()
Get clouds manager.
Definition: SkyX.h:220
GPUManager * mGPUManager
GPU manager.
Definition: SkyX.h:412
Ogre::SceneManager * mSceneManager
Scene manager.
Definition: SkyX.h:398
bool getCloudsEnabled()
Definition: SkyX.h:384
class __declspec(dllimport) BasicController void update(const Ogre::Real &simDeltaTime)
Basic controller class.
#define DllExport
Include external headers.
Definition: Prerequisites.h:45
bool mVisible
Is SkyX visible?
Definition: SkyX.h:432
Ogre::Real mLastCameraFarClipDistance
Last camera far clip distance.
Definition: SkyX.h:427
void setStarfieldEnabled(const bool &Enabled)
Set the starfield enabled/disabled.
bool isCreated() const
Is SkyX created?
Definition: SkyX.h:147
Controller * mController
Controller.
Definition: SkyX.h:401