POV-Ray : Newsgroups : povray.general : eliptical confusion. : Re: eliptical confusion. Server Time
10 Aug 2024 07:21:38 EDT (-0400)
  Re: eliptical confusion.  
From: Ross Litscher
Date: 15 Feb 2000 11:34:02
Message: <38A98347.3FCAB042@osu.edu>
Mike Williams wrote:
> 
> Both problems are due to the fact that POV is inconsistent about the way
> it uses angles. The ROTATE operation uses angles measured in degrees,
> but its trig functions use angles measured in radians. You used degrees
> throughout.
> 
> If you replace both occurrences of "cos(theta..." by "cos(theta/r_d..."
> (you've already declared r_d to be 180/Pi) then both orbits become nice
> smooth ellipses and the two collision points become clearly visible.
> 


thanks for clearing this up. is there a logical reason for the
inconsistence?


also, thanks chris for pointing out that there are functions for
converting between degrees and radians. 


ross


Post a reply to this message

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