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.18 by greg, Thu Sep 26 17:05:00 2013 UTC vs.
Revision 2.19 by greg, Thu Oct 3 17:01:02 2013 UTC

# Line 122 | Line 122 | eval_isotropic(char *funame)
122  
123          data_prologue();                        /* begin output */
124          if (pctcull >= 0) {
125 <                sprintf(cmd, "rttree_reduce -h -a -ff -r 3 -t %f -g %d",
125 >                sprintf(cmd, "rttree_reduce%s -h -ff -r 3 -t %f -g %d",
126 >                                (input_orient>0 ^ output_orient>0) ? "" : " -a",
127                                  pctcull, samp_order);
128                  fflush(stdout);
129                  ofp = popen(cmd, "w");
# Line 226 | Line 227 | eval_anisotropic(char *funame)
227  
228          data_prologue();                        /* begin output */
229          if (pctcull >= 0) {
230 <                sprintf(cmd, "rttree_reduce -h -a -ff -r 4 -t %f -g %d",
230 >                sprintf(cmd, "rttree_reduce%s -h -ff -r 4 -t %f -g %d",
231 >                                (input_orient>0 ^ output_orient>0) ? "" : " -a",
232                                  pctcull, samp_order);
233                  fflush(stdout);
234                  ofp = popen(cmd, "w");

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines