openscenegraph
|
Public Member Functions | |
virtual void | init (ThisClass *st, osgUtil::CullVisitor *cv) |
virtual void | cull () |
virtual void | aimShadowCastingCamera (const osg::BoundingSphere &bounds, const osg::Light *light, const osg::Vec4 &worldLightPos, const osg::Vec3 &worldLightDir, const osg::Vec3 &worldLightUp=osg::Vec3(0, 1, 0)) |
virtual void | cullShadowReceivingScene () |
virtual void | cullShadowCastingScene () |
virtual void | addShadowReceivingTexGen () |
virtual const osg::Light * | selectLight (osg::Vec4 &viewLightPos, osg::Vec3 &viewLightDir) |
virtual void | aimShadowCastingCamera (const osg::Light *light, const osg::Vec4 &worldLightPos, const osg::Vec3 &worldLightDir, const osg::Vec3 &worldLightUp=osg::Vec3(0, 1, 0)) |
Public Attributes | |
osg::ref_ptr< osg::Light > * | _lightPtr |
unsigned int * | _baseTextureUnitPtr |
unsigned int * | _shadowTextureUnitPtr |
osg::ref_ptr< osg::TexGen > | _texgen |
osg::ref_ptr< osg::StateSet > | _stateset |
virtual void osgShadow::StandardShadowMap::ViewData::addShadowReceivingTexGen | ( | ) | [virtual] |
virtual void osgShadow::StandardShadowMap::ViewData::aimShadowCastingCamera | ( | const osg::BoundingSphere & | bounds, |
const osg::Light * | light, | ||
const osg::Vec4 & | worldLightPos, | ||
const osg::Vec3 & | worldLightDir, | ||
const osg::Vec3 & | worldLightUp = osg::Vec3(0, 1, 0) |
||
) | [virtual] |
Reimplemented in osgShadow::MinimalShadowMap::ViewData.
virtual void osgShadow::StandardShadowMap::ViewData::aimShadowCastingCamera | ( | const osg::Light * | light, |
const osg::Vec4 & | worldLightPos, | ||
const osg::Vec3 & | worldLightDir, | ||
const osg::Vec3 & | worldLightUp = osg::Vec3(0, 1, 0) |
||
) | [virtual] |
Reimplemented in osgShadow::MinimalShadowMap::ViewData, and osgShadow::MinimalCullBoundsShadowMap::ViewData.
virtual void osgShadow::StandardShadowMap::ViewData::cull | ( | ) | [virtual] |
Method called by ViewDependentShadowTechnique to allow ViewData do the hard work computing shadows for its associated view
Reimplemented from osgShadow::DebugShadowMap::ViewData.
virtual void osgShadow::StandardShadowMap::ViewData::cullShadowCastingScene | ( | ) | [virtual] |
virtual void osgShadow::StandardShadowMap::ViewData::cullShadowReceivingScene | ( | ) | [virtual] |
virtual void osgShadow::StandardShadowMap::ViewData::init | ( | ThisClass * | st, |
osgUtil::CullVisitor * | cv | ||
) | [virtual] |
Reimplemented from osgShadow::DebugShadowMap::ViewData.
Reimplemented in osgShadow::MinimalShadowMap::ViewData, osgShadow::MinimalDrawBoundsShadowMap::ViewData, and osgShadow::MinimalCullBoundsShadowMap::ViewData.
virtual const osg::Light* osgShadow::StandardShadowMap::ViewData::selectLight | ( | osg::Vec4 & | viewLightPos, |
osg::Vec3 & | viewLightDir | ||
) | [virtual] |