Stereo projection using sdl and glut

I have written a simple 3d game using sdl, now i would like to enable a stereo projection but sdl doesn’t support it yet (I hope it will soon). Is there any way how to enable stereo projection while using sdl? Or there’s another way how to solve this problem - i can rewrite whole the code using glut (which supports stereo buffering) but glut doesn’t support the keyboard and mouse input as good as sdl. So is it possible to use glut for rendering and sdl for input? - i think this should be possible but don’t know how to do it since i have to initialize sdl video output to enable sdl keyboard and mouse input.

Petr Kostka–
sorry for my bad English

Interview? Exclusiv? Holarse.net??

Jo :wink: Kein Problem. Wann haste denn Zeit daf?r ???

Out of curiosity, what platform are you programming in?

-MarkOn Tue, 11 Dec 2001, waleCZnik wrote:

I have written a simple 3d game using sdl, now i would like to enable
a stereo projection but sdl doesn’t support it yet (I hope it will
soon). Is there any way how to enable stereo projection while using
sdl? Or there’s another way how to solve this problem - i can rewrite
whole the code using glut (which supports stereo buffering) but glut
doesn’t support the keyboard and mouse input as good as sdl. So is it
possible to use glut for rendering and sdl for input? - i think this
should be possible but don’t know how to do it since i have to
initialize sdl video output to enable sdl keyboard and mouse input.

Petr Kostka


Mark K. Kim
http://www.cbreak.org/mark/
PGP key available upon request.

I wrote the game for Linux but i would like to write a portable code.>Out of curiosity, what platform are you programming in?

-Mark

On Tue, 11 Dec 2001, waleCZnik wrote:

I have written a simple 3d game using sdl, now i would like to enable
a stereo projection but sdl doesn’t support it yet (I hope it will
soon). Is there any way how to enable stereo projection while using
sdl? Or there’s another way how to solve this problem - i can rewrite
whole the code using glut (which supports stereo buffering) but glut
doesn’t support the keyboard and mouse input as good as sdl. So is it
possible to use glut for rendering and sdl for input? - i think this
should be possible but don’t know how to do it since i have to
initialize sdl video output to enable sdl keyboard and mouse input.

Petr Kostka

I have written a simple 3d game using sdl, now i would like to enable a stereo projection but sdl doesn’t support it yet (I hope it will soon). Is there any way how to enable stereo projection while using sdl? Or there’s another way how to solve this problem - i can rewrite whole the code using glut (which supports stereo buffering) but glut doesn’t support the keyboard and mouse input as good as sdl. So is it possible to use glut for rendering and sdl for input? - i think this should be possible but don’t know how to do it since i have to initialize sdl video output to enable sdl keyboard and mouse input.

There’s no reason why we can’t add stereo support to SDL as another GL
attribute. It just hasn’t been done yet. Any volunteers?

See ya,
-Sam Lantinga, Software Engineer, Blizzard Entertainment

There is a problem: you can’t do stereoscopic easily for now under
Linux, even with glut stereo support, because you need a visual that
accept it. As far as I know, it’s not yet supported for popupar 3d-
cards :frowning: You should have a look at SoftGenLock:
http://www.univ-
orleans.fr/SCIENCES/LIFO/Members/raffin/SHPVR/SoftGenLock.php
It should works perfectly with SDL.

Thierry>

I wrote the game for Linux but i would like to write a portable code.

Out of curiosity, what platform are you programming in?

-Mark

On Tue, 11 Dec 2001, waleCZnik wrote:

I have written a simple 3d game using sdl, now i would like to enable
a stereo projection but sdl doesn’t support it yet (I hope it will
soon). Is there any way how to enable stereo projection while using
sdl? Or there’s another way how to solve this problem - i can rewrite
whole the code using glut (which supports stereo buffering) but glut
doesn’t support the keyboard and mouse input as good as sdl. So is it
possible to use glut for rendering and sdl for input? - i think this
should be possible but don’t know how to do it since i have to
initialize sdl video output to enable sdl keyboard and mouse input.

Petr Kostka


SDL mailing list
SDL at libsdl.org
http://www.libsdl.org/mailman/listinfo/sdl