POV-Ray : Newsgroups : povray.general : visibility : Re: visibility Server Time
4 Aug 2024 06:14:38 EDT (-0400)
  Re: visibility  
From: ABX
Date: 14 Jul 2003 02:34:41
Message: <vej4hv8hvffb3ftdgeld06696afnci9dok@4ax.com>
On Sat, 12 Jul 2003 16:20:30 -0600, "Kevin Loney" <kev### [at] ekoikcom> wrote:
> does someone have the calculations neccesary for determining wherther a
> point is within the fov given the location of the point and all the
> information regarding the camera?

You can use http://news.povray.org/povray.text.scene-files/23663/ for
calculating coordinates on screen. If coordinates returned from Vector_To_Screen
macro are outside <-.5,-.5>-<.5,.5> then original vector is outside fov.

ABX


Post a reply to this message

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