POV-Ray : Newsgroups : povray.general : Slightly faster VRand_On/In_Sphere() : Re: Slightly faster VRand_On/In_Sphere() Server Time
4 Aug 2024 02:20:28 EDT (-0400)
  Re: Slightly faster VRand_On/In_Sphere()  
From: Rune
Date: 8 Nov 2003 11:11:00
Message: <3fad1594$1@news.povray.org>

> I suggest to replace the original rand.inc macros by these macros.

Even if the distribution of these functions are indeed even, it should
still be considered that some scenes made using the current macros may
be designed to depend on their exact output, not just the distribution.
(Just like some scenes were made to depend on the old noise_generator
before it was changed in POV-Ray 3.5.) This means that if new macros
with different output are introduced, backward compatible alternative
macros must be provided as well. This however, doesn't necessarily
prevent some users from being confused when their scenes suddenly look
different, if they're not aware of the new macros that have replaced the
old ones.

Now the question is: Is the 9% speed increase worth the hassle with the
backwards compatibility issue? I'm not for or against, I just want to
make sure that the issue is being considered.

Rune
--
3D images and anims, include files, tutorials and more:
rune|vision:  http://runevision.com **updated Sep 28**
POV-Ray Ring: http://webring.povray.co.uk


Post a reply to this message

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