Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Oct 29, 2008, 11:37:19 AM (16 years ago)
Author:
landauf
Message:

added some new graphical classes

Location:
code/branches/objecthierarchy/src/orxonox/objects
Files:
6 added
4 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy/src/orxonox/objects/Scene.cc

    r2040 r2044  
    7474        {
    7575            Ogre::Light* light;
    76             light = this->sceneManager_->createLight("Light0");
     76            light = this->sceneManager_->createLight("Light-1");
    7777            light->setType(Ogre::Light::LT_DIRECTIONAL);
    7878            light->setDiffuseColour(ColourValue(1.0, 0.9, 0.6, 1.0));
    7979            light->setSpecularColour(ColourValue(1.0, 0.9, 0.6, 1.0));
    80             light->setDirection(1, -0.2, 0.2);
     80            light->setDirection(1, -0.3, 0.3);
    8181        }
    8282        // test test test
  • code/branches/objecthierarchy/src/orxonox/objects/worldentities/Backlight.h

    r2027 r2044  
    3232#include "OrxonoxPrereqs.h"
    3333
    34 #include "WorldEntity.h"
     34#include "PositionableEntity.h"
    3535#include "tools/BillboardSet.h"
    3636
    3737namespace orxonox
    3838{
    39     class _OrxonoxExport Backlight : public WorldEntity
     39    class _OrxonoxExport Backlight : public PositionableEntity
    4040    {
    4141        public:
  • code/branches/objecthierarchy/src/orxonox/objects/worldentities/Model.h

    r2040 r2044  
    4747            virtual void changedVisibility();
    4848
     49            inline const Mesh& getMesh() const
     50                { return this->mesh_; }
     51
    4952            inline void setMeshSource(const std::string& meshname)
    5053                { this->meshSrc_ = meshname; this->changedMesh(); }
    5154            inline const std::string& getMeshSource() const
    5255                { return this->meshSrc_; }
    53             inline const Mesh& getMesh() const
    54                 { return this->mesh_; }
    5556
    5657            inline void setCastShadows(bool bCastShadows)
  • code/branches/objecthierarchy/src/orxonox/objects/worldentities/ParticleSpawner.h

    r2027 r2044  
    3232#include "OrxonoxPrereqs.h"
    3333
    34 #include "WorldEntity.h"
     34#include "PositionableEntity.h"
    3535#include "tools/Timer.h"
    3636
    3737namespace orxonox
    3838{
    39     class _OrxonoxExport ParticleSpawner : public WorldEntity
     39    class _OrxonoxExport ParticleSpawner : public PositionableEntity
    4040    {
    4141        public:
Note: See TracChangeset for help on using the changeset viewer.