POV-Ray : Newsgroups : povray.general : Distorted imeges : Re: Distorted imeges Server Time
2 Nov 2024 13:19:17 EDT (-0400)
  Re: Distorted imeges  
From: Tim Nikias v2 0
Date: 23 Feb 2004 04:40:16
Message: <4039ca80@news.povray.org>
> I have a problem of distortion of images (for example making a circle and
it
> will appear as an ellipse)

Well, you've got to take the size of the output image into account. If your
up-vector is <0,1,0>, and your output images is 320x200, then your right
vector should be <-1,0,0>*(320/200) or, to make it more flexible for
different kinds of images, I just use this:
 up y right x*image_width/image_height

Regards,
Tim

-- 
"Tim Nikias v2.0"
Homepage: <http://www.nolights.de>
Email: tim.nikias (@) nolights.de


Post a reply to this message

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