|
|
> Also, once you've got them, you'd need POV-Ray to render two images, one
> for each eye. Now, do you use two cameras translated left and right a
> bit? Or do you rotate them each a bit to point towards each other? If
> so, how much?
I would use translated and sheared cameras. Never done that with povray,
so just the theory: When you face the center of your monitor, your left
eye does not face the center, but a point somewhat left of the monitor's
center. So, the center of projection (camera location) is a bit left in
the scene. Additionally, the center of the image is NOT the point where
the rays are perpendicular to the image plane. You have to compensate
for that. Rotation would do no good, although it might approximate the
real thing to some extend.
> ...and finally, IrfanView doesn't appear to be able to mix two images
> together. There's probably some trick with half-silvered mirrors that
> will make POV-Ray render red and green halves simultaneously, but does
> anyone know any other way to mix two images together?
Produce ppm output and then:
ppmtopgm left.ppm > left.pgm
ppmtopgm right.ppm > right.pgm
pamfunc -max=0 right.pgm | rgb3toppm left.ppm right.ppm - > stereo.ppm
Or, if left.ppm and right.ppm are already red and green:
pamarith -add left.ppm right.ppm > stereo.ppm
These commands are part of netpbm.
--
merge{#local i=-11;#while(i<11)#local
i=i+.1;sphere{<i*(i*i*(.05-i*i*(4e-7*i*i+3e-4))-3)10*sin(i)30>.5}#end
pigment{rgbt 1}interior{media{emission x}}hollow}// Mark Weyer
Post a reply to this message
|
|