| 12 |
|
#include "rtprocess.h" /* getpid() */ |
| 13 |
|
#include "platform.h" |
| 14 |
|
#include "RtraceSimulManager.h" |
| 15 |
+ |
#include "func.h" |
| 16 |
|
|
| 16 |
– |
extern char *progname; /* global argv[0] */ |
| 17 |
– |
|
| 17 |
|
static const char *sigerr[NSIG]; /* signal error messages */ |
| 18 |
|
char *errfile = NULL; /* error output file */ |
| 19 |
|
|
| 54 |
|
#define RXTRACE_FEATURES "IrradianceCalc\nMultiprocessing\nDistanceLimiting\n" \ |
| 55 |
|
"HessianAmbientCache\nAmbientAveraging\n" \ |
| 56 |
|
"AmbientValueSharing\nAdaptiveShadowTesting\n" \ |
| 57 |
+ |
"InputFormats=a,f,d\nOutputFormats=a,f,d,c\n" \ |
| 58 |
|
"Outputs=o,d,v,V,w,W,l,L,c,p,n,N,s,m,M,r,x,R,X,~\n" \ |
| 59 |
|
"OutputCS=RGB,XYZ,Y,S,M,prims,spec\n" |
| 60 |
|
|
| 80 |
|
strcat(RFeatureList, RXTRACE_FEATURES); |
| 81 |
|
if (argc > 1 && !strcmp(argv[1], "-features")) |
| 82 |
|
return feature_status(argc-2, argv+2); |
| 83 |
+ |
/* initialize calcomp routines */ |
| 84 |
+ |
initfunc(); |
| 85 |
|
/* add trace notify function */ |
| 86 |
|
for (i = 0; addobjnotify[i] != NULL; i++) |
| 87 |
|
; |