106 |
|
|
107 |
|
char *octname; /* octree name we are given */ |
108 |
|
|
109 |
– |
char *shm_boundary = NULL; /* boundary of shared memory */ |
110 |
– |
|
109 |
|
CUBE thescene; /* our scene */ |
110 |
|
OBJECT nsceneobjs; /* number of objects in our scene */ |
111 |
|
|
181 |
|
initotypes(); |
182 |
|
/* initialize urand */ |
183 |
|
reset_random(); |
184 |
+ |
/* initialize spectral sampling */ |
185 |
+ |
if (setspectrsamp(CNDX, WLPART) < 0) |
186 |
+ |
error(USER, "unsupported spectral sampling"); |
187 |
|
|
188 |
|
octname = savqstr(otnm); /* read scene octree */ |
189 |
|
readoct(octname, ~(IO_FILES|IO_INFO), &thescene, NULL); |