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

Comparing ray/src/cv/bsdf2ttree.c (file contents):
Revision 2.28 by greg, Mon Mar 24 03:50:28 2014 UTC vs.
Revision 2.29 by greg, Thu Aug 21 10:33:48 2014 UTC

# Line 199 | Line 199 | eval_isotropic(char *funame)
199                          iovec[5] = output_orient *
200                                  sqrt(1. - iovec[3]*iovec[3] - iovec[4]*iovec[4]);
201                          if (funame == NULL)
202 <                            bsdf = eval_rbfrep(rbf, iovec+3) *
203 <                                                output_orient/iovec[5];
202 >                            bsdf = eval_rbfrep(rbf, iovec+3);
203                          else {
204                              if (assignD) {
205                                  varset("Dx", '=', -iovec[3]);
# Line 313 | Line 312 | eval_anisotropic(char *funame)
312                          iovec[5] = output_orient *
313                                  sqrt(1. - iovec[3]*iovec[3] - iovec[4]*iovec[4]);
314                          if (funame == NULL)
315 <                            bsdf = eval_rbfrep(rbf, iovec+3) *
317 <                                                output_orient/iovec[5];
315 >                            bsdf = eval_rbfrep(rbf, iovec+3);
316                          else {
317                              if (assignD) {
318                                  varset("Dx", '=', -iovec[3]);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines