|
![](/i/fill.gif) |
> Somewhere along the ways I've missed an important detail...How does one
> set the aspect ratio in a PoV image?
To change the width or height of the image, use the +W and +H command line
switches.
To change the actual aspect ratio of the image being rendered, change your
camera declaration:
camera {
location ...
up y
right x*aspect_ratio
... (include look_at or whatever else you want at this point)
}
Generally you want to use both of these at once so that you get a 1:1 pixel
aspect ratio. This can be quickly and conveniently done via
up y
right image_width/image_height
though many (including myself) consider this bad style when used for
anything but quick test scenes, since it makes the image difficult to render
with a non-1:1 pixel aspect ratio, which is useful and necessary in some
cases.
- Slime
[ http://www.slimeland.com/ ]
Post a reply to this message
|
![](/i/fill.gif) |