|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |