Planet
navi homePPSaboutscreenshotsdownloaddevelopmentforum

Ignore:
Timestamp:
Dec 7, 2008, 4:18:11 AM (16 years ago)
Author:
landauf
Message:
  • Added support for postprocessing shaders (bloom, motion blur, …). Shaders are only visible if Plugin_CgProgramManager is included in bin/Plugins.cfg.
  • Added class GlobalShader which is visible on all clients and can be activated or deactivated by triggers or other events.
  • Added RadialBlur shader to the SpaceShip's engine. The strength of the RadialBlur depends on the SpaceShip's velocity.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • code/branches/objecthierarchy2/src/orxonox/objects/worldentities/Backlight.cc

    r2254 r2350  
    3838#include "core/XMLPort.h"
    3939#include "objects/Scene.h"
     40#include "util/Exception.h"
    4041
    4142namespace orxonox
     
    5960        if (Core::showsGraphics())
    6061        {
    61             assert(this->getScene());
    62             assert(this->getScene()->getSceneManager());
    63             assert(this->getScene()->getRootSceneNode());
     62            if (!this->getScene())
     63                ThrowException(AbortLoading, "Can't create Camera, no scene given.");
     64            if (!this->getScene()->getSceneManager())
     65                ThrowException(AbortLoading, "Can't create Camera, no scene manager given.");
     66            if (!this->getScene()->getRootSceneNode())
     67                ThrowException(AbortLoading, "Can't create Camera, no root scene node given.");
    6468
    6569            this->ribbonTrail_ = this->getScene()->getSceneManager()->createRibbonTrail(this->getNode()->getName());
Note: See TracChangeset for help on using the changeset viewer.