ViewVC Help
View File | Revision Log | Show Annotations | Download File | Root Listing
root/radiance/ray/src/gen/mkillum2.c
(Generate patch)

Comparing ray/src/gen/mkillum2.c (file contents):
Revision 2.25 by greg, Thu Dec 6 19:40:43 2007 UTC vs.
Revision 2.26 by greg, Sat Dec 8 01:43:09 2007 UTC

# Line 139 | Line 139 | srcsamps(                      /* sample sources from this surface positi
139                          if (i < 0)
140                                  continue;       /* must not be important */
141                          sr.rno = i;
142 <                        d = getBSDF_incrad(il->sd, i);
143 <                        d = 1.0/(PI*d*d);
142 >                        d = 1.0/getBSDF_incohm(il->sd, i);
143                  } else {
144                          if (v[2] >= -FTINY)
145                                  continue;       /* only sample transmission */

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines