Xinerama OpenGL Stereo (Art Tevs)

You can also let run your program in real time by using stereo view techniques. To understand how to do this, you can read some information on realtime stereo viewing here: 3D Stereo Rendering Using OpenGL (and GLUT).

There are some examples how it will looks like in real time (rendered with OpenGL in widescreen mode 16:9)


Here is a list of steps (in my own words) on how to do stereo view (not only for 019):

You can also download cCamera-class and let cCamera do this work for you :-)
This class also provides some more useful methods: for example frustum culling. You are free to use it in your applications.


Stereo video encoding (Gernot Ziegler)

After fiddling around with mplayer and X on the computer francium in the presentation room, I should now be possible to generate MPEG2 stereo movies for presentation in 019.

The advantage of it, to having the real application running, is that you can create a voice-over, background music and, especially, that you can pre-create 25 fps animations from non-realtime applications.

An interesting idea would also be to generate two versions of important presentation footage, one in mono for conference submission, the other one in stereo for 019 !

The encoder requires the following as input:


These are the commands that I currently use:

For encoding I utilize the MJPEGTools, with the special --no-constraints to achieve resolutions above HDTV:
png2yuv -j %08d.png -I p -f 25 -b 1 | mpeg2enc --no-constraints -f 3 -q 3 -b 10000 -o out.m2v

For playback:
mplayer -fs -screenw 2560 -screenh 1024 -vo xv -loop 0 out.m2v


Here is the fusion of two movies that contain left and right, respectively:
mplayer -vo png {movies}
in dirs called links/ and rechts/
then cd into links/, then
for a in *.png; do convert $a ../rechts/$a +append /usr/tmp/gernot/$a.png; done

Let me know (well in advance ;) ) if you want to generate some footage.


Gernot Ziegler
Art Tevs
Last modified: Fri Mar 18 14:06:23 CET 2005