POV-Ray : Newsgroups : povray.unofficial.patches : MCPov web page (montecarlo path tracing patch) : Re: MCPov web page (montecarlo path tracing patch) Server Time: 7 Sep 2008 14:44:15 GMT
  Re: MCPov web page (montecarlo path tracing patch)  
From: Warp
Date: 12 May 2008 16:52:44
fidos <fidos [at] wanadoofr> wrote:
> http://pagesperso-orange.fr/fidos/MCPov/MCPov.html.

  Are you using the C rand() function to generate random numbers? That
function is of completely subpar quality and quite slow.

  You should use a fast high-quality RNG, such as for example
http://warp.povusers.org/IsaacRand.zip

  (That RNG generates very high-quality random numbers with an enormous
period and it's over twice as fast as the rand() in the gcc C library.)

-- 
                                                          - Warp


Post a reply to this message

Copyright 2003-2008 Persistence of Vision Raytracer Pty. Ltd.