Ignore:
Timestamp:
11/22/05 20:51:37 (19 years ago)
Author:
bittner
Message:

vss updates

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/VUT/GtpVisibilityPreprocessor/src/VssPreprocessor.h

    r403 r427  
    88#include "VssRay.h" 
    99class VssTree; 
     10class VssTreeLeaf; 
    1011 
    1112/** Sampling based visibility preprocessing. The implementation is based on heuristical 
     
    1516        int mPass; 
    1617  int mSamplesPerPass; 
     18  int mVssSamplesPerPass; 
    1719  int mInitialSamples; 
    1820  int mVssSamples; 
    1921        bool mUseImportanceSampling; 
     22 
     23        AxisAlignedBox3 *mViewSpaceBox; 
    2024 
    2125        ofstream mStats; 
     
    3539 
    3640        Vector3 
    37         GetDirection(const Vector3 &viewpoint); 
     41        GetDirection(const Vector3 &viewpoint, 
     42                                                         AxisAlignedBox3 *viewSpaceBox 
     43                                                         ); 
    3844         
    3945  void 
     
    5763        virtual bool BuildBspTree() { return false; } 
    5864 
     65 
     66        bool 
     67        ExportRays(const char *filename, 
     68                                                 const VssRayContainer &vssRays, 
     69                                                 const int number 
     70                                                 ); 
     71 
    5972        int 
    60         RandomizedImportanceSampling(VssTree *vssTree, const int desiredSamples); 
     73        GenerateImportanceRays(VssTree *vssTree, 
     74                                                                                                 const int desiredSamples, 
     75                                                                                                 SimpleRayContainer &rays 
     76                                                                                                 ); 
    6177 
     78 
     79        bool 
     80        ExportVssTreeLeaf(char *filename, 
     81                                                                                VssTree *tree, 
     82                                                                                VssTreeLeaf *leaf); 
     83 
     84        void 
     85        ExportVssTreeLeaves(VssTree *tree, const int number); 
     86         
     87         
    6288}; 
    6389 
Note: See TracChangeset for help on using the changeset viewer.