POV-Ray : Newsgroups : povray.programming : POV-Ray v.4 proposal : Re: POV-Ray v.4 proposal Server Time
28 Jul 2024 22:28:32 EDT (-0400)
  Re: POV-Ray v.4 proposal  
From: Ron Parker
Date: 17 May 1999 11:38:18
Message: <374029da.0@news.povray.org>
On Mon, 17 May 1999 15:05:20 +0200, Mikael Carneholm wrote:
>It sure does. But you can't union{} a bunch of declarations and affect the
>locations of the declared vectors by putting them inside a union and then
>translate/rotate the whole union.

Um... even if there were a "point" object, it would be a huge change to
have POV modify the #declared version (the prototype) when an instantiation 
of it is transformed.  If you did do that, the next thing you'd have is 
people doing this:

  #declare MySphere=sphere {0 1}
  union { MySphere sphere {x,1} translate 2*x pigment{color red 1}}
  object {MySphere translate y pigment {color green 1}}

and then wondering why the green sphere is at <0,1,0> instead of
<2,1,0>.


Post a reply to this message

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