Changeset 556 for trunk/VUT/GtpVisibilityPreprocessor/src/ViewCellBsp.cpp
- Timestamp:
- 01/19/06 15:30:44 (18 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/VUT/GtpVisibilityPreprocessor/src/ViewCellBsp.cpp
r551 r556 2470 2470 float relContribution; 2471 2471 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); 2473 2475 2474 2476 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 2477 2481 if (contribution) 2478 2482 {
Note: See TracChangeset
for help on using the changeset viewer.