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

Comparing ray/src/rt/aniso.c (file contents):
Revision 2.43 by greg, Tue Apr 19 01:15:06 2005 UTC vs.
Revision 2.44 by greg, Fri May 7 17:45:57 2010 UTC

# Line 167 | Line 167 | diraniso(              /* compute source contribution */
167                  } else
168                          dtmp = 0.0;
169                                                  /* gaussian */
170 <                dtmp = exp(-dtmp) / (PI * np->pdot * sqrt(au2*av2));
170 >                dtmp = exp(-dtmp) * (1.0/PI) * sqrt(-ldot/(np->pdot*au2*av2));
171                                                  /* worth using? */
172                  if (dtmp > FTINY) {
173                          copycolor(ctmp, np->mcolor);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines