POV-Ray : Newsgroups : povray.newusers : Please help a useless mathematician : Re: Please help a useless mathematician Server Time
6 Sep 2024 04:22:51 EDT (-0400)
  Re: Please help a useless mathematician  
From: Ron Parker
Date: 19 Jan 1999 16:14:22
Message: <36a4f5ae.0@news.povray.org>
On Tue, 19 Jan 1999 21:04:09 -0000, Andrew Cocker 
	<and### [at] acockerfreeservecouk> wrote:
>Hi all,
>
>This is probably such an elementary question, but how do I rotate an object in an
ellipse?
>
>translate x*10
>rotate y*clock*360
>
>is all I've done before.
>
>That's it. Any help gratefully received,


Aren't all mathematicians useless? :)

You're almost there.  All you need to do now is 

scale x*2

where 2 is the ratio of major axis to minor axis of your
ellipse.  If you're wanting to do a simulation of Kepler's
Laws, though, you'll need something better because this
locates the center of the ellipse at the origin, and you
probably want one of the foci at the origin.  Also, the
velocity will be neither constant nor physically correct.


Post a reply to this message

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