POV-Ray : Newsgroups : povray.general : Aspect ratio & resolution.ini : Re: Aspect ratio & resolution.ini Server Time
1 Aug 2024 08:18:31 EDT (-0400)
  Re: Aspect ratio & resolution.ini  
From: Bryan Heit
Date: 29 Dec 2005 11:38:39
Message: <43b4110f$1@news.povray.org>
JYR wrote:
> Bryan Heit <bjh### [at] NOSPAMucalgaryca> wrote:
> 
>>   right <1.33,0,0>  //this would be 1.85 for HDTV
> 
> 
> right     x*image_width/image_height
> 
> where image_width and image_height are built in variables in which Pov
> stores the width and height of the image as defined in the drop menu or ini
> file.
> 
> JYR

Won't work.  The way you are calculating aspect ratio assumes square 
pixels (i.e. aspect of 1:1, or 1.0), whereas DVD/HDTV/TV use rectangular 
pixels.  In the case of DVD the aspect ratio of each pixel is 4:3 
(1.33), and for HDTV it is 16:9 (1.85).

If you work out the ratio you calculate you get 1.5 for DVD resolution 
images, quite a bit off of the 1.33 standard.  The HDTV is even more 
warped if you calculate the aspect ratio based on horizontal/vertical 
pixels.

It's irritating as hell - most computer media players don't play back 
the animation with non-square pixels, so it looks warped on the 
computer, but fine on the output...

Bryan


Post a reply to this message

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