POV-Ray : Newsgroups : povray.advanced-users : function optimization question : Re: function optimization question Server Time
29 Jul 2024 20:28:27 EDT (-0400)
  Re: function optimization question  
From: Warp
Date: 17 Mar 2002 16:28:29
Message: <3c950a7c@news.povray.org>
Peter Popov <pet### [at] vipbg> wrote:
>>If you set an arbitrary limit, it will either be too low and get in 
>>people's way (like the recursion limit for macros), or be too high and 
>>not be useful. Why bother?

> Only if you make it built-in. If you can change it in the scene or in
> the ini file, there will not be such a problem.

  So let's put a limit to the number of times a #while can execute. Right?

  I really don't see the problem here. If someone wants to make an infinite
loop, then let them make one. It's not your headache.

-- 
#macro M(A,N,D,L)plane{-z,-9pigment{mandel L*9translate N color_map{[0rgb x]
[1rgb 9]}scale<D,D*3D>*1e3}rotate y*A*8}#end M(-3<1.206434.28623>70,7)M(
-1<.7438.1795>1,20)M(1<.77595.13699>30,20)M(3<.75923.07145>80,99)// - Warp -


Post a reply to this message

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