POV-Ray : Newsgroups : povray.newusers : sphere proportions : Re: sphere proportions Server Time
23 Jun 2024 13:32:07 EDT (-0400)
  Re: sphere proportions  
From: Alain Martel
Date: 1 Jun 2021 18:45:08
Message: <60b6b874$1@news.povray.org>

> Hunted down section in the manual.
> camera
> { right x*ImageWidth/ImageHeight
>    (other camera settings...)
> }
It's image_width/image_height, no capital and with an underscore.

{ right x*image_width/image_height
   (other camera settings...)

It can also be set using the up vector as follow :
{ up y*image_height/image_width
   right x
   (other camera settings...)

Yes. That structure will ensure that the camera will always respect the 
aspect ratio of the generated image.

image_width and image_height are internal, reserved variables that 
contain the actual dimensions of the rendered image.

Post a reply to this message

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