POV-Ray : Newsgroups : povray.general : Wide-screen orthographic camera? : Re: Wide-screen orthographic camera? Server Time
31 Jul 2024 12:26:05 EDT (-0400)
  Re: Wide-screen orthographic camera?  
From: Charles C
Date: 6 Feb 2007 23:40:00
Message: <web.45c957c3b7cf3473704594a90@news.povray.org>
A couple of handy terms for this kind of stuff are image_width and
image_height.  You can use those in figuring apropriete "up" and "right"
vectors in your camera.
Charles



"Steve Webb" <nomail@nomail> wrote:
....
> scene.  However, I need any desktop resolution to work.  So, if my actual
> window on my desktop is 600x400+20+20, then I want the final rendering to
> show the corresponding "box" at exactly 600x400+20+20 in the output image.
> See what I mean?  I'm using an orthorgaphic projection, so nothing gets
> tweaked, but depending on the camera distance from the scene, the whole
> scene can zoom in and out.  I don't want to fiddle with the zoom manually
> and hard-code all kinds of distances for every resolution, I just want to
> say, I've got a desktop of 1280x1024, so my resulting image should be
> 1280x1024 and use some math so everything lines-up correctly.  I've got the
> aspect-ratio thing worked out, so dual-screen desktops work, but I can't
> figure out the zoom in orthographic-mode.  Clear as mud?  :)
>
> - Steve


Post a reply to this message

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