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.12 by greg, Fri Mar 22 16:39:00 2013 UTC vs.
Revision 2.14 by greg, Sat Mar 23 04:14:50 2013 UTC

# Line 122 | Line 122 | eval_isotropic(char *funame)
122                                                  /* run through directions */
123          for (ix = 0; ix < sqres/2; ix++) {
124                  RBFNODE *rbf = NULL;
125 <                iovec[0] = (ix+.5)/sqres - 1.;
125 >                iovec[0] = 2.*(ix+.5)/sqres - 1.;
126                  iovec[1] = .0;
127                  iovec[2] = input_orient * sqrt(1. - iovec[0]*iovec[0]);
128                  if (funame == NULL)
# Line 255 | Line 255 | main(int argc, char *argv[])
255                  case 't':
256                          switch (argv[i][2]) {
257                          case '3':
258 <                                single_plane_incident = 0;
258 >                                single_plane_incident = 1;
259                                  break;
260                          case '4':
261 <                                single_plane_incident = 1;
261 >                                single_plane_incident = 0;
262                                  break;
263                          case '\0':
264                                  pctcull = atof(argv[++i]);

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines