Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Jan 19, 2016, 11:27:40 PM (8 years ago)
Author:
landauf
Message:

merged shaders back to trunk (pps project from HS 2012)

Location:
code/trunk
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • code/trunk

  • code/trunk/src/orxonox/Scene.h

    r11071 r11080  
    2828 */
    2929
     30/**
     31@file Scene.h
     32@brief Definition of Scene Class
     33*/
     34
    3035#ifndef _Scene_H__
    3136#define _Scene_H__
     
    4954    {
    5055        public:
     56            /**
     57            @brief
     58                This class holds a Scene which is a collection of all kinds of objects to be rendered in the same space,
     59                with the same physics and the same light properties. Objects can be anything from a light source, over non physical objects
     60                like Billboards to just plain Models with an attached Mesh
     61            */
    5162            Scene(Context* context);
    5263            virtual ~Scene();
     
    5970            inline Ogre::SceneNode* getRootSceneNode() const
    6071                { return this->rootSceneNode_; }
     72            inline RenderQueueListener* getRenderQueueListener() const
     73                { return this->renderQueueListener_; }
    6174
    6275            void setSkybox(const std::string& skybox);
     
    95108                { this->setShadow(this->bShadows_); }
    96109
    97             Ogre::SceneManager*      sceneManager_;
    98             Ogre::SceneNode*         rootSceneNode_;
     110            Ogre::SceneManager*      sceneManager_; //!< This is a pointer to the Ogre SceneManager we're using to render the Scene
     111            Ogre::SceneNode*         rootSceneNode_; //!< This is a pointer to the root node of the Scene tree
     112            RenderQueueListener*     renderQueueListener_; //!< this is a pointer to the RenderQueueListener we're using for this Scene
    99113
    100             std::string              skybox_;
    101             ColourValue              ambientLight_;
    102             std::list<BaseObject*>   objects_;
    103             bool                     bShadows_;
    104             float                    soundReferenceDistance_;
    105             Radar*                   radar_;
     114            std::string              skybox_; //!< This string holds information about the skybox we're using
     115            ColourValue              ambientLight_; //!< This variable holds the color value for the ambient light in our scene, usually black in space
     116            std::list<BaseObject*>   objects_; //!< This list holds all the objects created in our scene
     117            bool                     bShadows_; //!< Do we want shadows in our scene?
     118            float                    soundReferenceDistance_; //!< This holds a reference distance, which represents the distance between our scene and the listener
     119            Radar*                   radar_; //!< This is a pointer to a Radar object assigned with this scene
    106120
    107121
Note: See TracChangeset for help on using the changeset viewer.