|
![](/i/fill.gif) |
> I need a great camera :),
> especially a 16:9 camera and I have problem setting the dimension, aspect
> ratio (...)
I suppose your problem is that your image gets stretched when you set the
16/9 ratio at the command line. ( +W1600 +H900 for example ).
Here is a short answer (but the best source of information you'll find is the
POV-Ray
Documentation, which is normally provided with the official distribution ) :
as you know it, by default, images are rendered for 4/3 ratio resolutions (640
x 480 for example).
So POV supposes the following lines are implicit in your source file :
camera {
location ...
look_at ...
right < 4 / 3, 0, 0 > /* Direction of the "right" of the camera */
up < 0, 1, 0 > /* Direction of the "up" */
}
That's why the problem arises when images have an aspect ratio different from 4
/ 3.
In your case, the only thing you have to do is to change the first commented
line to :
...
right <16 / 9, 0, 0>
...
This way, the renderer will compensate the deformation introduced by your
"original"
aspect ratio of 16 / 9.
For more info, on cameras, nothing's better than POV's Docs and example source
files.
Post a reply to this message
|
![](/i/fill.gif) |