# | Line 183 | Line 183 | ray_init( /* initialize ray-tracing calculation */ | |
---|---|---|
183 | initotypes(); | |
184 | /* initialize urand */ | |
185 | reset_random(); | |
186 | + | /* initialize spectral sampling */ |
187 | + | if (setspectrsamp(CNDX, WLPART) < 0) |
188 | + | error(USER, "unsupported spectral sampling"); |
189 | ||
190 | octname = savqstr(otnm); /* read scene octree */ | |
191 | readoct(octname, ~(IO_FILES|IO_INFO), &thescene, NULL); |
– | Removed lines |
+ | Added lines |
< | Changed lines |
> | Changed lines |