"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
|