Changeset 1828


Ignore:
Timestamp:
11/29/06 12:16:53 (17 years ago)
Author:
mattausch
Message:
 
Location:
GTP/trunk/Lib/Vis/Preprocessing/src
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • GTP/trunk/Lib/Vis/Preprocessing/src/InternalRayCaster.cpp

    r1824 r1828  
    182182 
    183183void InternalRayCaster::CastRays16(const int index, 
    184                                                                                                                                         SimpleRayContainer &rays,  
    185                                                                                                                                         VssRayContainer &vssRays, 
    186                                                                                                                                         const AxisAlignedBox3 &sbox, 
    187                                                                                                                                         const bool castDoubleRays, 
    188                                                                                                                                         const bool pruneInvalidRays) 
     184                                                                  SimpleRayContainer &rays,  
     185                                                                  VssRayContainer &vssRays, 
     186                                                                  const AxisAlignedBox3 &sbox, 
     187                                                                  const bool castDoubleRays, 
     188                                                                  const bool pruneInvalidRays) 
    189189{ 
    190190        const int num = 16; 
    191191 
    192192#if DEBUG_RAYCAST 
    193         Debug<<"C16 "<<flush; 
     193        Debug << "C16 " << flush; 
    194194#endif 
    195195 
    196196        // no acceleration for ray bundles implemented right now 
    197         for (int i=index; i < index + num; i++)  
     197        for (int i = index; i < index + num; i++)  
    198198        { 
    199199                CastRay(rays[i], vssRays, sbox, castDoubleRays, pruneInvalidRays); 
  • GTP/trunk/Lib/Vis/Preprocessing/src/ViewCellBsp.cpp

    r1790 r1828  
    26962696                float contribution = 0; 
    26972697                Ray *ray = (*it)->mRay; 
    2698                 float relContribution; 
     2698                //float relContribution; 
    26992699                if (!ray->intersections.empty()) 
    27002700                  contribution += vc->GetPvs().AddSample(ray->intersections[0].mObject, 
Note: See TracChangeset for help on using the changeset viewer.