POV-Ray : Newsgroups : povray.general : Function performance : Re: Function performance Server Time
29 Jul 2024 12:20:32 EDT (-0400)
  Re: Function performance  
From: Thorsten Froehlich
Date: 22 Jul 2011 09:10:11
Message: <4e2976b3@news.povray.org>
On 22.07.11 01:14, David Given wrote:
> As part of my Insanely Complicated Tree function, I need to clip some
> (x, y, z) coordinates to a sphere of radius r. (I'm going to use it as
> an isosurface modifier; I want the effect to value according to phi and
> theta but be constant for all r.)
<snip>
> ...which is much less easy to read.

If you show the POV-Ray SDL, then I can tell you what will happen and how to 
optimise it. From your post it is not clear if you are talking about macros 
or functions as you say function, but use a syntax closer to a declare.

	Thorsten


Post a reply to this message

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