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 */ |
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 |
|
} |