ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/Development/ray/src/rt/RcontribSimulManager.cpp
(Generate patch)

Comparing ray/src/rt/RcontribSimulManager.cpp (file contents):
Revision 2.21 by greg, Mon Oct 27 18:38:32 2025 UTC vs.
Revision 2.22 by greg, Tue Nov 11 00:19:10 2025 UTC

# Line 203 | Line 203 | RcontribSimulManager::RctCall(RAY *r, void *cd)
203          if (!mp)
204                  return 0;               // not in our modifier list
205  
206 +        if (rcp->HasFlag(RCcontrib) && sintens(r->rcol) <= FTINY)
207 +                return 0;               // zero contribution
208 +
209          int                     bi = 0; // get bin index
210          if (mp->binv) {
211                  worldfunc(RCCONTEXT, r);

Diff Legend

Removed lines
+ Added lines
< Changed lines (old)
> Changed lines (new)