POV-Ray : Newsgroups : povray.bugreports : aspect ratio cannot be manually set : Re: aspect ratio cannot be manually set Server Time
20 Jun 2021 17:56:46 EDT (-0400)
  Re: aspect ratio cannot be manually set  
From: Kenneth
Date: 29 Apr 2017 21:25:01
Message: <web.59053c6dc2628cde883fb31c0@news.povray.org>
"jmichae3" <jmi### [at] yahoocom> wrote:

>
> I found out you can manually set aspect ratio, with up and right in the camera.

There's at least one other way of doing it:

Use your 'usual' camera set-up, like this for example...

camera{ location  <20,40,28>
        right     x*image_width/image_height // keeps the scene's object
// proportions the same, with any .ini file aspect ratio
        look_at   <0,2,0>
        angle 67
      }

.... then change your output image resolution (in your QUICKRES.INI file) to make
a panorama-aspect image. Instead of a 16:9 ratio, use a (16*3):9 ratio. By
itself, that will produce a long length/short height image, cutting off the top
and bottom of the scane, but with the scene's objects still looking correct. To
fix that-- to get the scene's vertical field-of-view back to where it should
be-- simply change the camera's ANGLE to take in more of the scene; a
wider-angle 'lens', in other words. There is probably a simple(?) formula for
choosing the correct angle-- but I don't know what it is, off-hand. OR, you
could move the camera back in space, and leave the angle as-is.


Post a reply to this message

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