POV-Ray : Newsgroups : povray.binaries.images : Visualizing camera view frustum : Re: Visualizing camera view frustum Server Time
30 Apr 2024 04:03:17 EDT (-0400)
  Re: Visualizing camera view frustum  
From: Bald Eagle
Date: 17 Apr 2017 15:10:01
Message: <web.58f511fa1652a4dcc437ac910@news.povray.org>
Mike Horvath <mik### [at] gmailcom> wrote:

> Make sure you are using radians and degrees properly. You may have to
> convert between the two.

Well, the thing is, when I do it all in SDL, it works out fine.

I send the value of angle out to the debug stream, and it's the expected 68.3
degrees or whatever.

Then I work it all out step by step in Excel, and it's just looking WAY off.
See my rows labeled radians and degrees.
I'm using degrees = (radians /pi)*180, and it gives me the same result as
Excel's degrees() function.   So I'm wondering if the atan2 function is flawed.


Post a reply to this message

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