Ignore:
Timestamp:
01/19/06 15:30:44 (18 years ago)
Author:
bittner
Message:

debug version looking for glrenderer bug...

File:
1 edited

Legend:

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

    r551 r556  
    24702470                float relContribution; 
    24712471                if (!ray->intersections.empty()) 
    2472                   contribution += vc->GetPvs().AddSample(ray->intersections[0].mObject, relContribution); 
     2472                  contribution += vc->GetPvs().AddSample(ray->intersections[0].mObject, 
     2473                                                                                                 1.0f, 
     2474                                                                                                 relContribution); 
    24732475                 
    24742476                if (ray->sourceObject.mObject) 
    2475                         contribution += vc->GetPvs().AddSample(ray->sourceObject.mObject, relContribution); 
    2476  
     2477                        contribution += vc->GetPvs().AddSample(ray->sourceObject.mObject, 
     2478                                                                                                   1.0f, 
     2479                                                                                                   relContribution); 
     2480                 
    24772481                if (contribution) 
    24782482                { 
Note: See TracChangeset for help on using the changeset viewer.