POV-Ray : Newsgroups : povray.advanced-users : Multiple #ifdef question : Re: Multiple #ifdef question Server Time
2 Nov 2024 07:27:47 EDT (-0400)
  Re: Multiple #ifdef question  
From: Ron Parker
Date: 9 Mar 2000 08:20:05
Message: <38c7a505$1@news.povray.org>
On Tue, 7 Mar 2000 14:42:02 -0800, David Vincent-Jones wrote:
>I am importing, from a generic database, a very large number of items into
>an include list.
>
>The items will be classed as possibly 100 distinctly different 'objects',
>not all of which will be predefined during the initial display.

Are the 'objects' such that they can be stored in an array?  If so, MegaPOV
has an extension to the syntax that allows you to check whether a particular
array element is defined, so you could do whatever you're doing inside a loop
or by passing the array and an index to a macro.

-- 
These are my opinions.  I do NOT speak for the POV-Team.
The superpatch: http://www2.fwi.com/~parkerr/superpatch/
My other stuff: http://www2.fwi.com/~parkerr/traces.html


Post a reply to this message

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