POV-Ray : Newsgroups : povray.newusers : Connecting two objects after transformation operations... : Re: Connecting two objects after transformation operations... Server Time
28 Jul 2024 18:17:19 EDT (-0400)
  Re: Connecting two objects after transformation operations...  
From: this is me
Date: 13 Feb 2008 16:30:00
Message: <web.47b3606b67dd78f6e1e1be9d0@news.povray.org>
"Chris B" <nom### [at] nomailcom> wrote:
>
> You can declare a transformation for each rotation/translation pair, then
> use your transform both to position the objects and to reposition the
> location vectors that you need for the ends of the cylinders. Something like
> the following:
>
> #declare MyTransform1 = transform {rotate ... translate ...}
> object {... transform {MyTransform1}}
> ...
> cylinder
> {vtransform(MyPoint1,MyTransform1),vtransform(MyPoint1,MyTransform2),MyRadius
> ...}
> ...
>
>
> Regards,
> Chris B.

Excellent!  Just the kind of push in the right direction for which I was
looking.


Post a reply to this message

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