POV-Ray : Newsgroups : povray.unofficial.patches : MCPov web page (montecarlo path tracing patch) : Re: MCPov web page (montecarlo path tracing patch) Server Time
5 May 2024 22:37:09 EDT (-0400)
  Re: MCPov web page (montecarlo path tracing patch)  
From: Warp
Date: 12 May 2008 12:52:44
Message: <482875dc@news.povray.org>
fidos <fid### [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-2023 Persistence of Vision Raytracer Pty. Ltd.