POV-Ray : Newsgroups : povray.general : Wide-screen orthographic camera? : Re: Wide-screen orthographic camera? Server Time
31 Jul 2024 18:25:04 EDT (-0400)
  Re: Wide-screen orthographic camera?  
From: Charles C
Date: 8 Feb 2007 12:45:00
Message: <web.45cb5faeb7cf347374eed8480@news.povray.org>
"Steve Webb" <nomail@nomail> wrote:
> (Don't ask me why 1.7315 is the magic divisor, but it works perfectly).

1/1.7315 must be the factor between unit size and pixel size.... It looks
like you're scaling the camera to your scene which must vary in size by
pixel count. Try (image_width/1.7315)/2.  You should get the middle half of
your desktop.

Another way would be to put the camera in the 0 to 1 range (up 1 right 1)
and scale everything (less the background because if it's an image_map it
should start out in the 0 to 1 range) in your scene by
<1/image_width,1/image_height,1>.

Charles


Post a reply to this message

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