POV-Ray : Newsgroups : povray.general : Stereo Rendering? Server Time
8 Aug 2024 01:23:29 EDT (-0400)
  Stereo Rendering? (Message 21 to 25 of 25)  
<<< Previous 10 Messages Goto Initial 10 Messages
From: John VanSickle
Subject: Re: Stereo Rendering?
Date: 15 Jun 2001 16:30:45
Message: <3B2A71EB.6514B865@erols.com>
Bill DeWitt wrote:
> 
> Is there a way to render stereo versions of an image in one pass?
> Other than setting up some mirrors?
> 
> I want to do an animation in stereo and I don't want to paste together
> all those images...

Use POV-Ray to paste them together.  Paint one half of a plane with
one image, the other half with the other.  Use the str(,,) function to
select the file to use for each side, and then render as an animation.
Don't anti-alias the paste-up render.

I used a similar process to do the blocky digital censoring in my IRTC
entry titled "Showbots."

Regards,
John
-- 
ICQ: 46085459


Post a reply to this message

From: Bill DeWitt
Subject: Re: Stereo Rendering?
Date: 15 Jun 2001 23:29:41
Message: <3b2ad2a5@news.povray.org>
"ingo" <ing### [at] homenl> wrote in message
news:Xns### [at] povrayorg...
> in news:3b2a50bf$1@news.povray.org Bill DeWitt wrote:
>
> >     Actually just setting up the mirrors has been fairly simple.
>
> Havn't followed this thread, but maybe this helps:
> http://www.irtc.org/stills/1998-02-28.html
> The third-place picture is done using mirrors

    Thanks, but I am working on something a little beyond just a static
image. I am going through the vector sample files hoping that it will sink
in this time.


Post a reply to this message

From: Pete
Subject: Re: Stereo Rendering?
Date: 17 Jun 2001 12:56:57
Message: <1111.567T1999T13475028PeterC@nym.alias.net>
Bill DeWitt wrote:

>    Actually just setting up the mirrors has been fairly simple. Making them
>move with the camera as it pans and sweeps while keeping the mirrors pointed
>at the look_at point is the hard part...

        When I want an object to move with the camera, I don't use
the look_at command.  Instead, I locate the camera at the origin <0, 0, 0>
Set the direction vector to <0, 0, 1> and then use rotations and
translation to point the camera.  I then use the same rotations and
translations on the object(s) that move with the camera.  Warning:
attempting to use a transform on a camera generates odd error
messages, so instead write a transform macro and call it from both
the camera and the object that is to move with the camera.

 #macro camera_trans()
   rotate x*7 // or whatever
   rotate y*18
   translate <0, 1, -10>
 #end

 camera {
   location 0
   direction <0, 1, 1>
   right <(640 / 480), 0, 0>
   up <0, 1, 0>
   camera_trans()
 }

 object {
   whatever
   no_shadow  // kind of handy
   translate <0, 0, 1> // so it is a little in front of the camera
   camera_trans()
 }


Pete


Post a reply to this message

From: Bill DeWitt
Subject: Re: Stereo Rendering?
Date: 17 Jun 2001 13:15:33
Message: <3b2ce5b5$1@news.povray.org>
"Pete" <Pet### [at] nymaliasnet> wrote in message
news:111### [at] nymaliasnet...
> Bill DeWitt wrote:
>
> >    Actually just setting up the mirrors has been fairly simple. Making
them
> >move with the camera as it pans and sweeps while keeping the mirrors
pointed
> >at the look_at point is the hard part...
>
>         When I want an object to move with the camera, I don't use
> the look_at command.

    Right, but I have to tilt the mirrors to converge on the look_at point.
If it is further away or closer, the mirror has to angle differently.


Post a reply to this message

From: Bob H 
Subject: Re: Stereo Rendering?
Date: 18 Jun 2001 09:38:02
Message: <3b2e043a$1@news.povray.org>
Mirrors are slow to use if you want animation within a reasonable time (boy,
that varies person to person).
I too had made a stereo camera using the angled mirrors way, just a little
angle trickery involved.  No, nothing mathematical from me.  I found how the
subject of the view is next to impossible to get a good normal scene into
the camera.
I'm rushing through these news messages because my access was gone more than
3 days and it's catching up time so sorry if I rehash this point.
Seems Bill has come to the same conclusion.
If I remember right it was faster to render two times rather than a single
4-mirror way, for a simple scene anyhow.
That SAB POV looked great to me.  When will it be incorporated into
"official" POV-Ray? :-)
Thanks for that posting Stefan, expect e-mail as soon as I figure out where
the address is.

Bob H.


Post a reply to this message

<<< Previous 10 Messages Goto Initial 10 Messages

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