Ignore:
Timestamp:
11/25/05 14:29:09 (19 years ago)
Author:
mattausch
Message:

changed tabs

File:
1 edited

Legend:

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

    r430 r433  
    1111 
    1212 
    13 bool useViewSpaceBox = true; 
     13bool useViewSpaceBox = false;//true; 
    1414bool use2dSampling = false; 
    15 bool useViewspacePlane = false; 
     15bool useViewspacePlane = false;//true; 
    1616 
    1717VssPreprocessor::VssPreprocessor(): 
     
    413413 
    414414         
    415         //      int numExportRays = 10000; 
    416  
    417         int numExportRays = 0; 
     415        int numExportRays = 10000; 
     416        //int numExportRays = 0; 
    418417 
    419418        if (numExportRays) { 
     
    498497                        for (int i = 0; i < (int)vssRays.size(); ++ i) 
    499498                        { 
    500                                 CastRay(*mBspTree, *mVssRays[i]); 
     499                                CastRay(*mBspTree, *vssRays[i]); 
    501500                        } 
    502501                } 
     
    539538        Ray ray(vssRay); 
    540539 
    541         /*Debug << ray << endl; 
     540        Debug << ray << endl; 
    542541        if (ray.intersections.empty()) 
    543542                Debug << "empty ray" << endl; 
    544543        else  
    545544                Debug << "intersection: " << ray.intersections[0].mT << " " << ray.intersections[0].mObject << endl; 
    546 */ 
     545 
    547546        mBspTree->CastRay(ray); 
    548547                                 
    549         if (ray.sourceObject.mObject) 
     548        //if (0 && ray.sourceObject.mObject) 
    550549                //sampleContributions +=  
    551                 AddObjectSamples(ray.sourceObject.mObject, ray); 
     550                //AddObjectSamples(ray.sourceObject.mObject, ray); 
    552551                         
    553552                if (!ray.intersections.empty()) // second intersection found 
Note: See TracChangeset for help on using the changeset viewer.