Ignore:
Timestamp:
09/08/08 00:52:31 (16 years ago)
Author:
mattausch
Message:
 
File:
1 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/App/Demos/Vis/FriendlyCulling/src/ShadowMapping.h

    r2911 r2913  
    66#include "AxisAlignedBox3.h" 
    77#include "Matrix4x4.h" 
     8 
    89#include <Cg/cg.h> 
    910#include <Cg/cgGL.h> 
     
    5859protected: 
    5960 
    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; 
    6365 
     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        ////////////// 
    6476 
    6577        /// the scene bounding box 
Note: See TracChangeset for help on using the changeset viewer.