POV-Ray : Newsgroups : povray.general : Slightly faster VRand_On/In_Sphere() : Re: Slightly faster VRand_On/In_Sphere() Server Time
4 Aug 2024 02:21:40 EDT (-0400)
  Re: Slightly faster VRand_On/In_Sphere()  
From: Warp
Date: 8 Nov 2003 13:10:51
Message: <3fad31ab@news.povray.org>
Rune <run### [at] runevisioncom> wrote:
> 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.

  Probably not worth.

  To get a speed boost you can simply copy the macro from the include
file to your scene file. This should noticeably increase its speed due
to how POV-Ray parses macros in include files.

-- 
plane{-x+y,-1pigment{bozo color_map{[0rgb x][1rgb x+y]}turbulence 1}}
sphere{0,2pigment{rgbt 1}interior{media{emission 1density{spherical
density_map{[0rgb 0][.5rgb<1,.5>][1rgb 1]}turbulence.9}}}scale
<1,1,3>hollow}text{ttf"timrom""Warp".1,0translate<-1,-.1,2>}//  - Warp -


Post a reply to this message

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