Monday, June 29, 2009

Explicit direct lightning

gives a lot,

unmatched quality:

A fireflies happen to appear from time to time (there is one on the ceiling for example) and, what's funny, it's a random thing while my PRNG has constant seed values.
I'm almost sure its because all threads share one random number generator and what seem to happen they are at times calling random procedure ALMOST in the same time, reassigning the values unpredictably.

Edit:

3 comments:

  1. Nice render!I didn't noticed any fireflies or may be they're not so visible , the render is quite clean, i like those spheres!
    Why not remove multithreading to see if it is really the bottleneck ?
    Keep it up! :)

    ReplyDelete
  2. Yes it does sir. Why not just use two prng's then with different seeds?

    ReplyDelete