POV-Ray : Newsgroups : povray.general : How to set the view to the object width? : Re: How to set the view to the object width? Server Time
24 Apr 2024 08:18:44 EDT (-0400)
  Re: How to set the view to the object width?  
From: Bald Eagle
Date: 22 Sep 2019 11:55:00
Message: <web.5d879927756e04084eec112d0@news.povray.org>
"Bald Eagle" <cre### [at] netscapenet> wrote:

> IIRC, it isn't what you think it might be, but half of that

I think maybe this series of equation rearrangements might shed some light on
the issue.

From:
http://news.povray.org/povray.advanced-users/thread/%3Cweb.580f8b048d6e3073b488d9aa0%40news.povray.org%3E/

// direction_length = 0.5 * right_length / tan(angle / 2)
// tan(angle / 2) * direction_length = 0.5 * right_length
// tan(angle / 2) = (0.5 * right_length) / direction_length
// (angle / 2) = atan2( (0.5 * right_length), direction_length)
// angle = 2* atan2( (0.5 * right_length), direction_length)


Post a reply to this message

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