POV-Ray : Newsgroups : povray.general : how to call multiple instances of a macro? : Re: how to call multiple instances of a macro? Server Time
30 Jul 2024 18:11:05 EDT (-0400)
  Re: how to call multiple instances of a macro?  
From: Christian Froeschlin
Date: 12 Mar 2009 05:59:48
Message: <49b8dd14$1@news.povray.org>
CShake wrote:

> I wonder how much overhead this really causes, I figure that Christian 
> Froeschlin's method of just using a selection macro and assigning 
> numerical values to each macro name would be slightly more efficient 
> when parsing, but involves more work for the user and is not very flexible.

if you don't call it thousands of times I think the overhead for
file I/O won't be too bad. Otherwise, a compromise might be to
generate the selection macro itself using #write in a loop.


Post a reply to this message

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