POV-Ray : Newsgroups : povray.general : finding points after a transform : Re: finding points after a transform Server Time
4 Aug 2024 22:10:49 EDT (-0400)
  Re: finding points after a transform  
From: Rob
Date: 6 Feb 2003 17:00:12
Message: <3e42daec@news.povray.org>
Nope that won't do it. VRotation and VRotationD return the angle I need the
point.  Allow me to illustrate.

cylinder{
  <0,0,0>,<5,0,0>,1
rotate <0,40+clock*50,0>
}

I need to know where the ends of the cylinder are after the rotation.
However now that you pointed me tword those functions I can see that vrotate
will help.

Thanks,
  Rob

"gonzo" <rgo### [at] lansetcom> wrote in message
news:web.3e42d27c3d6c529a0c272b50@news.povray.org...
> Rob wrote:
> >Ok, I have this problem where I have a couple cylinders that get rotated
and
> >moved durring an animation.  What I need to do is find the ends of the
> >cylinders after the transforms so I can use them as a reference for
another
> >object.  I have no clue where to start on this and I'd appreciate any
help.
> >
> >Thanks in advance,
> >  Rob
> >
>
> I had a similar problem stringing some telephone wires on poles that were
> randomly moved and rotated in a loop.  Look in the docs: 7.9.2 Vector
> functions and macros, look up VRotation & VRotationD.
>
> Worked great for me.
>
> RG
>


Post a reply to this message

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