POV-Ray : Newsgroups : povray.newusers : camera angle : Re: camera angle Server Time
2 Nov 2024 17:17:33 EDT (-0400)
  Re: camera angle  
From: Tor Olav Kristensen
Date: 12 Oct 2003 17:20:54
Message: <Xns9412ED63761D0torolavkhotmailcom@204.213.191.226>
Bill Hails <bil### [at] europeyahoo-inccom> wrote in 
news:3f896cbf@news.povray.org:

> hmm, 2 questions in a row, at least you know I'm keen :-)
...
> #local Direction = LookAt - Location;
> #local Distance = vlength(Direction);
> #local PerpDirection = vcross(Direction, y);
> #local PerpDistance = sind(Angle/2) * Distance;
...


Try tand() instead of sind()


Tor Olav


Post a reply to this message

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