POV-Ray : Newsgroups : povray.binaries.images : Visualizing camera view frustum : Re: Visualizing camera view frustum Server Time
7 Nov 2024 02:24:22 EST (-0500)
  Re: Visualizing camera view frustum  
From: Mike Horvath
Date: 17 Apr 2017 13:02:13
Message: <58f4f515$1@news.povray.org>
On 4/17/2017 7:47 AM, Bald Eagle wrote:
>
> I was trying to work out a few things, and was using my code and that in
> screen.inc as a guide, but of course nothing ever works out the way it's
> supposed to.
>
> Excel gives me wildly different results from what POV-Ray returns for the camera
> view angle formula.
>
> #declare Angle = 2*atan2d (0.5*CamR.x*Camera_Aspect_Ratio, CamD.z*Camera_Zoom);
>
> I was hoping someone could run a quick check and confirm.
>
> This certainly wouldn't be the first time Excel was just plain wrong.
>

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


Mike


Post a reply to this message

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