- Timestamp:
- 09/08/08 00:52:31 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
GTP/trunk/App/Demos/Vis/FriendlyCulling/src/ShadowMapping.h
r2911 r2913 6 6 #include "AxisAlignedBox3.h" 7 7 #include "Matrix4x4.h" 8 8 9 #include <Cg/cg.h> 9 10 #include <Cg/cgGL.h> … … 58 59 protected: 59 60 60 void CalcFocussedFrustum(const Matrix4x4 &camProjView, 61 const Matrix4x4 &lightProjView, 62 Matrix4x4 &focussed); 61 /** Calculates the intersection of the frustum with the box, 62 returns resultin polyhedron as array of polygons. 63 */ 64 Polyhedron *CalcClippedFrustum(const AxisAlignedBox3 &box) const; 63 65 66 67 bool CalcLightProjection(Matrix4x4 &lightProj); 68 69 void IncludeLightVolume(const Polyhedron &polyhedron, 70 VertexArray &frustumPoints, 71 const Vector3 lightDir, 72 const AxisAlignedBox3 &sceneBox); 73 74 75 ////////////// 64 76 65 77 /// the scene bounding box
Note: See TracChangeset
for help on using the changeset viewer.