Severi Salminen <sev### [at] NOT THISsaunalahti fi invalid> wrote:
> In my Monte-Carlo path tracing renderer the above method was faster than
> those using polar coordinates (random phi and theta describing the
> angles).
How did you pick phi and theta? Did you pick uniform random numbers and map them
using straightforward functions (needs trigonometry I guess), or did you
monte-carlo them as well?
> It was very clearly faster.
I'd actually expect so, but you never know until you test it :)
> I have Core2Duo so things might be
> different on other platforms / with other compilers. I use GCC.
Don't think so. Not significantly at least.
Post a reply to this message
|