POV-Ray : Newsgroups : povray.newusers : Setting the aspect ratio : Re: Setting the aspect ratio Server Time
29 Jul 2024 02:20:08 EDT (-0400)
  Re: Setting the aspect ratio  
From: Trevor G Quayle
Date: 8 Dec 2006 16:35:00
Message: <web.4579d96753a4c05ec150d4c10@news.povray.org>
"Ansgar" <Tem### [at] gmxde> wrote:
> My problem is that my rendering outputs are distorted when I don't choose a
> 4:3 resolution like 800x600.
> Now I know from the online help and from articles here that something like
> this is supposed to work:
> right x*(aspect ratio)
>
> Unfortunately, it doesn't. In fact, that line doesn't have any effect at
> all. May I be using another keyword that negates the effect or something?
>
> May it have something to do with the fact that I'm working with a scene (and
> a camera) which was converted over from a 3ds file with 3DWin5?
>
> Here's my camera definition:
>
> #declare P_cam = camera
> {
>   sky <0, 0, 1>                       // doesn't seem to have any effect
>   up <0, 1, 0>                        // same
>   right <1, 0, 0>                     // same. If I use 1 or 1.33 or 2 or
>                                       // anything, always the same result
>   location <22.695, -65.187, 31.461>
>   look_at <-4.677, -4.445, 10.517>
>   angle 45                            // I've read this can override "right"
>                                       // settings, but I see no difference
>                                       // if I leave it out
> }
>
> Thanks in advance.

  up y
  right x*image_width/image_height


-tgq


Post a reply to this message

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