POV-Ray : Newsgroups : povray.newusers : Render Resolution Stretches Image : Re: Render Resolution Stretches Image Server Time
29 Jul 2024 12:15:28 EDT (-0400)
  Re: Render Resolution Stretches Image  
From: Roman Reiner
Date: 26 Nov 2005 04:45:00
Message: <web.43882d9d7a467a16a71237320@news.povray.org>
"the_ajj" <nomail@nomail> wrote:
> When I render my image at a resolution of 640x480 or 1024x768 - the image
> looks fine.  However, when i render at 1280x1024 (the resolution of my pc
> screen) the image appears to be stretched in the Y direction.  I have
> figured out that the xy ratio is different i.e. 1.33 for 640x480 and 1.25
> for 1280x1024 but I wouldn't have expected the image to be stretched just
> more space around the edges???  Any ideas how i can correct this?

In deed it is the aspectratio that streches the image. the docs say:

<docs>
Together the up and right vectors define the aspect ratio (height to width
ratio) of the resulting image. The default values up<0,1,0> and
right<1.33,0,0> result in an aspect ratio of 4 to 3. This is the aspect
ratio of a typical computer monitor. If you wanted a tall skinny image or a
short wide panoramic image or a perfectly square image you should adjust
the up and right vectors to the appropriate proportions.
</docs>

the simpliest solution is always to use

right x*(image_width/image_height)

in the camera block

Roman


Post a reply to this message

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