POV-Ray : Newsgroups : povray.newusers : stereo camera : Re: stereo camera Server Time
29 Jul 2024 18:30:14 EDT (-0400)
  Re: stereo camera  
From: Urs Holzer
Date: 28 May 2005 10:53:19
Message: <429885df@news.povray.org>
Ajees wrote:
> I wish to create a stereo pictuers side by side (left and right) for my
> molecule using the following camera position.
> 
> // Pov 'camera'
> //  to view default ribbons box:  X+-25; Y+-20
> /**** pov-image script should replace this with something:
> camera {
>  //location <0.0,0.0,500.0>    // far away in Z
>  // for stereo, eye-separation = 0.1*distance
>  location <25.0,0.0,500.0> // stereo 'Right' Z
>  //location <-25.0,0.0,500.0>// stereo 'Left' Z
>  up y                        // like the screen
>  right -5/4*x                // makes right-handed
>  angle 5.73                  // 2*atan(25/500)
>  look_at <0.0,0.0,0.0>       // origin of ribbons box
> }

First, change the look_at point too, the left and the right camera should
look parallel.
Second, an angle of only 5.73 degrees causes the rays shot through the
camera to be nearly parallel. Try a camera with the standard angle or an
angle of about 90 degrees.

Hope that helps.


Post a reply to this message

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