POV-Ray : Newsgroups : povray.newusers : Macro Woes : Re: Macro Woes Server Time
5 Sep 2024 20:19:00 EDT (-0400)
  Re: Macro Woes  
From: Nieminen Juha
Date: 30 Sep 1999 04:04:59
Message: <37f319ab@news.povray.org>
Jon A. Cruz <jon### [at] geocitiescom> wrote:
: Well, the main thing wrong with "object { SphereMacro(15, 1, 1.5, 10) }" is
: that at least with the way he has his macro defined, it will cause errors in
: POV-Ray. The object needs the #declared to work.

: But, if his macro were changed to create a single POV-Ray object, then it
: could be used in such a case. At the moment it creates a set of objects, and
: not a single object.

  I didn't notice that. But declaring will not help either. If the macro
creates several objects, only the first one will be the value of the
declared identifier. The rest will be part of the scene by themselves.
  This will show up clearly if you try to use the identifier in two places.

-- 
main(i,_){for(_?--i,main(i+2,"FhhQHFIJD|FQTITFN]zRFHhhTBFHhhTBFysdB"[i]
):5;i&&_>1;printf("%s",_-70?_&1?"[]":" ":(_=0,"\n")),_/=2);} /*- Warp -*/


Post a reply to this message

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