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

Comparing ray/src/px/xshowtrace.c (file contents):
Revision 2.10 by schorsch, Sun Mar 28 20:33:14 2004 UTC vs.
Revision 2.12 by greg, Sat Jul 30 22:02:29 2005 UTC

# Line 21 | Line 21 | static const char      RCSid[] = "$Id$";
21   #define  sscanvec(s,v)  (sscanf(s,"%lf %lf %lf",v,v+1,v+2)==3)
22   #endif
23  
24 < char    rtcom[] = "rtrace -h- -otp -fa -x 1";
24 > char    rtcom[64] = "rtrace -h- -otp -fa -x 1";
25   char    xicom[] = "ximage -c 256";
26  
27   VIEW    ourview = STDVIEW;              /* view for picture */
# Line 66 | Line 66 | main(          /* takes both the octree and the image */
66          for (i = 1; i < argc-2; i++)
67                  if (!strcmp(argv[i], "-s"))
68                          slow++;
69 +                else if (!strcmp(argv[i], "-T"))
70 +                        strcat(rtcom, " -oTp");
71                  else
72                          break;
73          if (i > argc-2) {
74 <                fprintf(stderr, "Usage: %s [-s] [rtrace args] octree picture\n",
74 >                fprintf(stderr, "Usage: %s [-s][-T] [rtrace args] octree picture\n",
75                                  progname);
76                  exit(1);
77          }

Diff Legend

Removed lines
+ Added lines
< Changed lines
> Changed lines