POV-Ray : Newsgroups : povray.advanced-users : A 16:9 rendering : Re: A 16:9 rendering Server Time
29 Jul 2024 18:21:58 EDT (-0400)
  Re: A 16:9 rendering  
From: Skippy Fastol
Date: 14 Mar 2001 14:44:06
Message: <3AAFCCFB.8B2F9B4B@altavista.com>


> 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

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