58 |
|
"ImmediateIrradiance\n" \ |
59 |
|
"ProgressReporting\nDistanceLimiting\n" \ |
60 |
|
"InputFormats=a,f,d\nOutputFormats=a,f,d,c\n" \ |
61 |
< |
"Outputs=V,W\n" |
61 |
> |
"Outputs=V,W\n" \ |
62 |
> |
"OutputCS=RGB,spec\n" |
63 |
|
#else |
64 |
|
#define RCONTRIB_FEATURES "Multiprocessing\n" \ |
65 |
|
"Accumulation\nSummation\nRecovery\n" \ |
66 |
|
"ImmediateIrradiance\n" \ |
67 |
|
"ProgressReporting\nDistanceLimiting\n" \ |
68 |
|
"InputFormats=a,f,d\nOutputFormats=a,f,d,c\n" \ |
69 |
< |
"Outputs=V,W\n" |
69 |
> |
"Outputs=V,W\n" \ |
70 |
> |
"OutputCS=RGB,spec\n" |
71 |
|
#endif |
72 |
|
|
73 |
|
static void |
332 |
|
error(USER, "missing required modifier argument"); |
333 |
|
/* override some option settings */ |
334 |
|
override_options(); |
335 |
+ |
/* set/check spectral sampling */ |
336 |
+ |
if (setspectrsamp(CNDX, WLPART) < 0) |
337 |
+ |
error(USER, "unsupported spectral sampling"); |
338 |
|
/* initialize object types */ |
339 |
|
initotypes(); |
340 |
|
/* initialize urand */ |