POV-Ray : Newsgroups : povray.general : changing to right-handed system and aspect ratio : changing to right-handed system and aspect ratio Server Time
2 Nov 2024 17:17:27 EDT (-0400)
  changing to right-handed system and aspect ratio  
From: Chris Cera
Date: 13 Jan 2004 02:58:57
Message: <slrnc079it.ntq.cera@queen.mcs.drexel.edu>
I'm trying to do two things, change from:
    - left-handed system to right-handed system
    - change aspect ratio from 4/3 to 2

My resulting image has some shearing so the spheres looks more
like eggs.  I'm not sure what I'm doing wrong.  My output
dimensions are 640x320, and my camera declaration is below,
where the aspect ratio is used in the 'right' declaration:

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

The reason why I'm switching to a right-handed system is so then
I can synchronize the view with a separate modeling system.  Does
anybody have an idea of what I'm doing wrong?  Any help is
greatly appreciated, thanks!

Here are some links if somebody would like to recreate the
problem, or just see a screenshot:

    http://cera.us/tmp/spherescene.png
    http://cera.us/tmp/spherescene.pov
    http://cera.us/tmp/sphere.pov


-- 
cer### [at] csdrexeledu                 http://www.cs.drexel.edu/~cera


Post a reply to this message

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