34 #ifndef SHADOWMAPRENDERNODE_H
35 #define SHADOWMAPRENDERNODE_H
42 #if (OGRE_PLATFORM == OGRE_PLATFORM_WIN32)
48 namespace ShadowMapRenderNode {
49 using namespace Frapper;
80 Ogre::Technique* handleSchemeNotFound(
unsigned short schemeIndex,
81 const Ogre::String& schemeName,
82 Ogre::Material* originalMaterial,
83 unsigned short lodIndex,
84 const Ogre::Renderable* rend);
98 void shadowTextureCasterPreViewProj (Ogre::Light *light, Ogre::Camera *camera,
size_t iteration);
139 void loadLightDescriptionFile ();
144 void setLightScale ();
149 void setShaderParameter ();
162 void processOutputImage ();
166 void redrawTriggered();
175 float greatestComponent(
const Ogre::Vector3 &vec)
const;
180 static bool greaterThan(
const QPair<Ogre::Vector3, Ogre::Vector3> &d1,
const QPair<Ogre::Vector3, Ogre::Vector3> &d2);