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

Comparing ray/src/cv/bsdf2rad.c (file contents):
Revision 2.13 by greg, Mon Sep 15 00:54:03 2014 UTC vs.
Revision 2.15 by schorsch, Sun Mar 6 01:13:17 2016 UTC

# Line 22 | Line 22 | const float    colarr[6][3] = {
22                  .5, 1., 1.
23          };
24  
25 < #ifdef _WIN32
25 > #if defined(_WIN32) || defined(_WIN64)
26   char    validf[] = "-e \"valid(s,t)=X`SYS(s,t)^2+Y`SYS(s,t)^2+Z`SYS(s,t)^2-1e-7\"";
27   #else
28   char    validf[] = "-e 'valid(s,t)=X`SYS(s,t)^2+Y`SYS(s,t)^2+Z`SYS(s,t)^2-1e-7'";
# Line 137 | Line 137 | main(int argc, char *argv[])
137                                          "transmission" : "reflection"),
138                                  rbf->vtotal);
139   #endif
140 +                printf("# Incident direction (theta,phi) = (%.2f,%.2f) deg.\n\n",
141 +                                (180./M_PI)*theta, (180./M_PI)*phi);
142                  printf("void trans tmat\n0\n0\n7 %f %f %f .04 .04 .9 1\n",
143                                  colarr[n][0], colarr[n][1], colarr[n][2]);
144                  if (showPeaks && rbf != NULL) {

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines