![](/i/fill.gif) |
![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"ingo" <ing### [at] home nl> wrote in message
news:Xns### [at] povray org...
> 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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
"Pete" <Pet### [at] nym alias net> wrote in message
news:111### [at] 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.
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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
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
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |
| ![](/i/fill.gif) |
|
![](/i/fill.gif) |
|
![](/i/fill.gif) |
| ![](/i/fill.gif) |