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

Comparing ray/src/rt/normal.c (file contents):
Revision 2.20 by greg, Tue May 19 17:09:03 1992 UTC vs.
Revision 2.21 by greg, Wed May 20 14:23:47 1992 UTC

# Line 137 | Line 137 | double  omega;                 /* light source size */
137                                                  /* roughness + source */
138                  dtmp = np->alpha2 + omega/PI;
139                                                  /* gaussian */
140 <                dtmp = exp((2.*DOT(np->prdir,ldir)-2.)/dtmp)/(4.*PI*dtmp);
140 >                dtmp = exp((2.*DOT(np->prdir,ldir)-2.)/dtmp)/(PI*dtmp);
141                                                  /* worth using? */
142                  if (dtmp > FTINY) {
143                          copycolor(ctmp, np->mcolor);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines