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:26:00 EDT (-0400)
  Re: changing to right-handed system and aspect ratio  
From: Hughes, B 
Date: 13 Jan 2004 08:04:27
Message: <4003ecdb@news.povray.org>
"Thorsten Froehlich" <tho### [at] trfde> wrote in message
news:4003d307$1@news.povray.org...
> >
> >  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.

I replied too fast, perhaps. Some people say resolutions in the order of
height then width so I didn't pay much attention to that. I figured the
trouble was about something they had done to set resolution incorrectly for
the aspect ratio they were trying to get, so to me that meant I should
suggest dividing the width by height taken directly from whatever output
size was being used.

> 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.

I abuse it often just so I don't have to worry about what resolutions I set.
:-)

> The reason the sphere appears distorted is the default perspective camera.

That thought occured to me and then I skipped mentioning it because of how
basic that phenomenon seems to me anymore. Bad decision. You're absolutely
correct about using narrower angles of view or a more suitable camera
projection type.

Bob H.


Post a reply to this message

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