Protected Member Functions |
| virtual void | setupShadowReceivingScene () |
| virtual void | aimShadowCastingCamera (const osg::Light *light, const osg::Vec4 &worldLightPos, const osg::Vec3 &worldLightDir, const osg::Vec3 &worldLightUp=osg::Vec3(0, 1, 0)) |
| virtual void | aimShadowCastingCameraWithBounds (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 osg::BoundingBox | computeScenePolytopeBounds (const osg::Matrix *m=NULL) |
| virtual void | cutScenePolytope (const osg::Matrix &matrix, const osg::Matrix &inverse, const osg::BoundingBox &bb=osg::BoundingBox(-1,-1,-1, 1, 1, 1)) |
| virtual void | frameShadowCastingCamera (const osg::Camera *cameraMain, osg::Camera *cameraShadow, int pass=1) |
| virtual osg::BoundingBox | computeShadowReceivingCoarseBounds () |
Protected Member Functions inherited from makOsgShadowFX::DtShadowMap |
| virtual | ~DtShadowMap (void) |
| virtual const osg::Light * | selectLight (osg::Vec4 &viewLightPos, osg::Vec3 &viewLightDir) |
| virtual void | generateShadowMap () |
| virtual void | updateTexGen () |
Static Protected Member Functions |
| static void | trimProjection (osg::Matrixd &projection, osg::BoundingBox subrange, unsigned int trimMask=(1|2|4|8|16|32)) |
| static void | clampProjection (osg::Matrixd &projection, float n=0, float f=FLT_MAX) |
| static void | extendProjection (osg::Matrixd &projection, osg::Viewport *viewport, const osg::Vec2 &margin) |
Member Enumeration Documentation
- Enumerator:
| EMPTY_BOX |
|
| BOUNDING_SPHERE |
|
| BOUNDING_BOX |
|
Constructor & Destructor Documentation
| makOsgShadowFX::DtShadowMapMinimal::DtShadowMapMinimal |
( |
| ) |
|
| makOsgShadowFX::DtShadowMapMinimal::DtShadowMapMinimal |
( |
const DtShadowMapMinimal & |
orig, |
|
|
const osg::CopyOp & |
op |
|
) |
| |
Member Function Documentation
| virtual void makOsgShadowFX::DtShadowMapMinimal::setupShadowReceivingScene |
( |
| ) |
|
|
protectedvirtual |
| virtual void makOsgShadowFX::DtShadowMapMinimal::aimShadowCastingCamera |
( |
const osg::Light * |
light, |
|
|
const osg::Vec4 & |
worldLightPos, |
|
|
const osg::Vec3 & |
worldLightDir, |
|
|
const osg::Vec3 & |
worldLightUp = osg::Vec3(0, 1, 0) |
|
) |
| |
|
protectedvirtual |
| virtual void makOsgShadowFX::DtShadowMapMinimal::aimShadowCastingCameraWithBounds |
( |
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) |
|
) |
| |
|
protectedvirtual |
| virtual osg::BoundingBox makOsgShadowFX::DtShadowMapMinimal::computeScenePolytopeBounds |
( |
const osg::Matrix * |
m = NULL | ) |
|
|
protectedvirtual |
| virtual void makOsgShadowFX::DtShadowMapMinimal::cutScenePolytope |
( |
const osg::Matrix & |
matrix, |
|
|
const osg::Matrix & |
inverse, |
|
|
const osg::BoundingBox & |
bb = osg::BoundingBox(-1,-1,-1, 1, 1, 1) |
|
) |
| |
|
protectedvirtual |
| virtual void makOsgShadowFX::DtShadowMapMinimal::frameShadowCastingCamera |
( |
const osg::Camera * |
cameraMain, |
|
|
osg::Camera * |
cameraShadow, |
|
|
int |
pass = 1 |
|
) |
| |
|
protectedvirtual |
| virtual osg::BoundingBox makOsgShadowFX::DtShadowMapMinimal::computeShadowReceivingCoarseBounds |
( |
| ) |
|
|
protectedvirtual |
| static void makOsgShadowFX::DtShadowMapMinimal::trimProjection |
( |
osg::Matrixd & |
projection, |
|
|
osg::BoundingBox |
subrange, |
|
|
unsigned int |
trimMask = (1|2|4|8|16|32) |
|
) |
| |
|
staticprotected |
| static void makOsgShadowFX::DtShadowMapMinimal::clampProjection |
( |
osg::Matrixd & |
projection, |
|
|
float |
n = 0, |
|
|
float |
f = FLT_MAX |
|
) |
| |
|
staticprotected |
| static void makOsgShadowFX::DtShadowMapMinimal::extendProjection |
( |
osg::Matrixd & |
projection, |
|
|
osg::Viewport * |
viewport, |
|
|
const osg::Vec2 & |
margin |
|
) |
| |
|
staticprotected |
Member Data Documentation
| ConvexPolyhedron makOsgShadowFX::DtShadowMapMinimal::mySceneReceivingShadowPolytope |
|
protected |
| std::vector< osg::Vec3d > makOsgShadowFX::DtShadowMapMinimal::mySceneReceivingShadowPolytopePoints |
|
protected |
| osg::Matrixd makOsgShadowFX::DtShadowMapMinimal::myClampedProjection |
|
protected |
The documentation for this class was generated from the following file: