POV-Ray : Newsgroups : povray.advanced-users : Calculating visible camera area : Re: Calculating visible camera area Server Time
28 Apr 2024 01:39:30 EDT (-0400)
  Re: Calculating visible camera area  
From: Tor Olav Kristensen
Date: 26 Oct 2016 01:35:01
Message: <web.58103fb2e3118e5d468fc97e0@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:
> I thought there had been some discussion about this, Way Back When (TM), but I
> could not locate a thread.
>
> I was wondering if there were some way to calculate the positions of the four
> corners of the visible render frame, or unit-length-vectors that point from the
> camera in those directions.
>
> If there are other formulas for calculating schtuff associated with the final
> render and field of view, that would be helpful as well.
>
> Currently just interested in typical perspective camera, though I also use
> orthographic frequently.

I once did some work related to this:

http://news.povray.org/povray.binaries.images/thread/<Xns9327B41C265F5torolavk%40204.213.191.226>

I believe that I still have the code somewhere if anyone is interested.

--
Tor Olav
http://subcube.com


Post a reply to this message

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