POV-Ray : Newsgroups : povray.animations : rotation and orbit ? : Re: rotation and orbit ? Server Time
28 Jul 2024 20:20:52 EDT (-0400)
  Re: rotation and orbit ?  
From: Peter Popov
Date: 24 Jan 2000 00:12:36
Message: <Dt6LOK5zhY9yVXasthw9DVIrEWwn@4ax.com>
On Sun, 23 Jan 2000 23:19:53 -0500, Andrea Ryan <ary### [at] global2000net>
wrote:

>What if the orbit is tilted?  The orbit of the Moon is tilted about 5.145
>degrees.  Would that be incorporated if the Moon is rotated on its axis, tilted
>over a little, translated, rotated 5.145 degrees and revolved around the
>Earth?  What if a elliptical orbit is desired?
>Brendan Ryan
>
>dcc wrote:

object
{
  Moon
  rotate <5.145,-360*y*clock,0>
  translate R*<cos(2*pi*clock), 0, E*sin(2*pi*clock)>
  // R is the major radius
  // E is the "Eggness", i.e. minor to major radius ratio
}


Peter Popov
pet### [at] usanet
ICQ: 15002700


Post a reply to this message

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