OpenSceneGraph 3.6.5
LightSpacePerspectiveShadowMap
Go to the documentation of this file.
1/* -*-c++-*- OpenSceneGraph - Copyright (C) 1998-2006 Robert Osfield
2 *
3 * This library is open source and may be redistributed and/or modified under
4 * the terms of the OpenSceneGraph Public License (OSGPL) version 0.0 or
5 * (at your option) any later version. The full license is in LICENSE file
6 * included with this distribution, and on the openscenegraph.org website.
7 *
8 * This library is distributed in the hope that it will be useful,
9 * but WITHOUT ANY WARRANTY; without even the implied warranty of
10 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
11 * OpenSceneGraph Public License for more details.
12 *
13 * ViewDependentShadow codes Copyright (C) 2008 Wojciech Lewandowski
14 * Thanks to to my company http://www.ai.com.pl for allowing me free this work.
15*/
16
17
18#ifndef OSGSHADOW_LIGHTSPACEPERSPECTIVESHADOWMAP
19#define OSGSHADOW_LIGHTSPACEPERSPECTIVESHADOWMAP 1
20
24
25namespace osgShadow {
26
27// Class implements
28// "Light Space Perspective Shadow Maps" algorithm by
29// Michael Wimmer, Daniel Scherzer, Werner Purgathofer
30// http://www.cg.tuwien.ac.at/research/vr/lispsm/
31
32class LispSM;
33
35{
36 public:
39
40 void operator() (
41 const osgShadow::ConvexPolyhedron* hullShadowedView,
42 const osg::Camera* cameraMain,
43 osg::Camera* cameraShadow ) const;
44
45 protected:
46 LispSM * lispsm;
47};
48
49// Optimized for draw traversal shadow bounds
71
72// Optimized for cull traversal shadow bounds
94
95// Optimized for view frustum bounds
117
119
120} // namespace osgShadow
121
122#endif
The osgShadow library is a NodeKit that extends the core scene graph to add support for a range of sh...
Definition ConvexPolyhedron:33
LightSpacePerspectiveShadowMapDB LightSpacePerspectiveShadowMap
Definition LightSpacePerspectiveShadowMap:118
Camera - is a subclass of Transform which represents encapsulates the settings of a Camera.
Definition Camera:45
Copy Op(erator) used to control whether shallow or deep copy is used during copy construction and clo...
Definition CopyOp:41
@ SHALLOW_COPY
Definition CopyOp:47
Definition ConvexPolyhedron:36
LispSM * lispsm
Definition LightSpacePerspectiveShadowMap:46
Definition LightSpacePerspectiveShadowMap:51
LightSpacePerspectiveShadowMapDB(const LightSpacePerspectiveShadowMapDB &copy, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
Classic OSG cloning constructor.
Definition LightSpacePerspectiveShadowMap:62
ProjectionShadowMap< MinimalDrawBoundsShadowMap, LightSpacePerspectiveShadowMapAlgorithm > BaseClass
Convenient typedef used in definition of ViewData struct and methods.
Definition LightSpacePerspectiveShadowMap:54
LightSpacePerspectiveShadowMapDB()
Classic OSG constructor.
Definition LightSpacePerspectiveShadowMap:57
META_Object(osgShadow, LightSpacePerspectiveShadowMapDB)
Declaration of standard OSG object methods.
LightSpacePerspectiveShadowMapCB(const LightSpacePerspectiveShadowMapCB &copy, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
Classic OSG cloning constructor.
Definition LightSpacePerspectiveShadowMap:85
ProjectionShadowMap< MinimalCullBoundsShadowMap, LightSpacePerspectiveShadowMapAlgorithm > BaseClass
Convenient typedef used in definition of ViewData struct and methods.
Definition LightSpacePerspectiveShadowMap:77
META_Object(osgShadow, LightSpacePerspectiveShadowMapCB)
Declaration of standard OSG object methods.
LightSpacePerspectiveShadowMapCB()
Classic OSG constructor.
Definition LightSpacePerspectiveShadowMap:80
META_Object(osgShadow, LightSpacePerspectiveShadowMapVB)
Declaration of standard OSG object methods.
ProjectionShadowMap< MinimalShadowMap, LightSpacePerspectiveShadowMapAlgorithm > BaseClass
Convenient typedef used in definition of ViewData struct and methods.
Definition LightSpacePerspectiveShadowMap:100
LightSpacePerspectiveShadowMapVB(const LightSpacePerspectiveShadowMapVB &copy, const osg::CopyOp &copyop=osg::CopyOp::SHALLOW_COPY)
Classic OSG cloning constructor.
Definition LightSpacePerspectiveShadowMap:108
LightSpacePerspectiveShadowMapVB()
Classic OSG constructor.
Definition LightSpacePerspectiveShadowMap:103
#define OSGSHADOW_EXPORT
Definition Export:39

osg logo
Generated at Sun Jul 20 2025 00:00:00 for the OpenSceneGraph by doxygen 1.14.0.