POV-Ray : Newsgroups : povray.advanced-users : macro inside a loop : Re: macro inside a loop Server Time
29 Jul 2024 16:27:10 EDT (-0400)
  Re: macro inside a loop  
From: Chris Colefax
Date: 19 Oct 2001 02:56:58
Message: <3bcfceba@news.povray.org>
Arie L. Stavchansky <ari### [at] bellatlanticnet> wrote:
> I have the following:
[snip]
> The problem is that the macro inside the loop (which functions properly)
is
> not being called more than once.  In fact, even the message I am given
says
> there are only a certain amount of frame level objects, as opposed to a
> certain amount of frame level objects times the height (which is the loop
> condition).
>
> If you replace the macro inside the loop with a simple prmitive, such as a
> sphere, then you will see the many spheres.  Why is the macro not being
> called multiple times?

Check that your objectRing macro is actually returning the objects you want
in the scene, rather than declaring them as object variables.  Otherwise, it
might help to see the code for that macro as well...


Post a reply to this message

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