[Re: multi-threaded ray tracer doesn't produce correct output]

Thanks for all the smart replies and tips.  I was a bonehead--there was
a global variable (that I forgot about) that was getting thrashed by each
thread.  The particular global was instrumental in getting the reflections
right.  I actually needed that variable in each thread, so I made it local
storage to each thread.  All is well now.

Brendan
-
Linux SMP list: FIRST see FAQ at http://www.irisa.fr/prive/mentre/smp-faq/
To Unsubscribe: send "unsubscribe linux-smp" to [EMAIL PROTECTED]

Reply via email to