equal
deleted
inserted
replaced
284 // stochastic oversampling |
284 // stochastic oversampling |
285 // ...todo |
285 // ...todo |
286 } |
286 } |
287 } |
287 } |
288 |
288 |
|
289 #if 0 |
289 static void *renderrow(void *data) |
290 static void *renderrow(void *data) |
290 { |
291 { |
291 RenderrowData *d = (RenderrowData*) data; |
292 RenderrowData *d = (RenderrowData*) data; |
292 const int subsample = d->rt->getSubsample(); |
293 const int subsample = d->rt->getSubsample(); |
293 const Float subsample2 = 1.0/(subsample*subsample); |
294 const Float subsample2 = 1.0/(subsample*subsample); |
439 #ifdef PTHREADS |
440 #ifdef PTHREADS |
440 pthread_exit((void *)d); |
441 pthread_exit((void *)d); |
441 #endif |
442 #endif |
442 return (void *)d; |
443 return (void *)d; |
443 } |
444 } |
|
445 #endif |
444 |
446 |
445 void Raytracer::render() |
447 void Raytracer::render() |
446 { |
448 { |
447 if (!sampler || !camera || !top) |
449 if (!sampler || !camera || !top) |
448 return; |
450 return; |