POV-Ray : Newsgroups : povray.advanced-users : function optimization question : Re: function optimization question Server Time
29 Jul 2024 18:19:45 EDT (-0400)
  Re: function optimization question  
From: Christopher James Huff
Date: 16 Mar 2002 20:49:30
Message: <chrishuff-5A16DA.20492316032002@netplex.aussie.org>
In article <3c93bfd9$1@news.povray.org>, "Jan Walzer" <jan### [at] lzernet> 
wrote:

> but it happens at parse-stage ... there's no image rendered yet, and you can 
> debug it by using the debug-stream ...
> 
> functions can get evaluated at rendertime ...
> you can't debug them by writing some intermediate-values to some stream ...

Why not? Just make an equivalent to #debug that operates at function 
evaluation time, whether while parsing or rendering.

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?

-- 
Christopher James Huff <chr### [at] maccom>
POV-Ray TAG e-mail: chr### [at] tagpovrayorg
TAG web site: http://tag.povray.org/


Post a reply to this message

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