POV-Ray : Newsgroups : povray.general : changing to right-handed system and aspect ratio : Re: changing to right-handed system and aspect ratio Server Time
3 Aug 2024 16:19:24 EDT (-0400)
  Re: changing to right-handed system and aspect ratio  
From: Thorsten Froehlich
Date: 13 Jan 2004 06:14:15
Message: <4003d307$1@news.povray.org>
In article <4003c4eb$1@news.povray.org> , "Hughes, B." 
<omn### [at] charternet> wrote:
>> camera {
>>     location <3, 0, 0.5>
>>     right <0, 2, 0> // make sure this is same aspect ratio as output
>>     up <0, 0, 1>
>>     direction  <-1, 0, 0>
>> }
>
>  camera {
>      location <3, 0, 0.5>
>      right image_width/image_height*y
>      up <0, 0, 1>
>      direction  <-1, 0, 0>
>  }

For a 640x320 image, the resulting camera you suggest will be absolutely
identical!  And it cannot solve the "problem" with the sphere either.

So what is the point of your suggestion? ;-)  Neither image_width nor
image_height are appropriate for this scene; nor do they belong in 99% of
the scenes where they are (ab)used.

The reason the sphere appears distorted is the default perspective camera.
So there is nothing wrong with the scene.  The perspective camera will make
objects that are close and not in the center of the image appear distorted,
which is especially visible if the image aspect ratio is on the extreme side
of things.  Depending on the scene, I would suggest to either use a smaller
camera angle (and increase the camera to object distance) or select another
camera (some trial and error may be necessary in that case).

    Thorsten

____________________________________________________
Thorsten Froehlich
e-mail: mac### [at] povrayorg

I am a member of the POV-Ray Team.
Visit POV-Ray on the web: http://mac.povray.org


Post a reply to this message

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