sdl and gl stereo |
Vittorio G.
Guest
|
Hello,
i was trying to implement stereoscopic view of a game and i found out that gl supports natively activating a visual stereo mode. However it uses GLUT; can both sdl and glut cohexist in the same application? Is there a particular way to drive the gl stereo view from just sdl code? thanks Vittorio _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||
|
sdl and gl stereo |
Bob
|
On Thu, Jul 1, 2010 at 3:53 PM, Vittorio G. wrote:
OpenGL does not require the use of GLUT *EVER*. GLUT is a utility library written on top of OpenGL, OS dependent code such as wgl and glx, and the native OS. You can do stereo under SDL with out GLUT. Bob Pendleton
-- +----------------------------------------------------------- + Bob Pendleton: writer and programmer + email: + web: www.TheGrumpyProgrammer.com _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||||
|
sdl and gl stereo |
Vittorio G.
Guest
|
thanks for your reply, but, hum, how do you do that?
my application uses opengl+sdl and the only examples i found always used glut or non portable apis do you know any tutorial or additional documentation (besides FAQ 8.110) that could help me? Thanks Vittorio On Fri, Jul 2, 2010 at 5:30 AM, Bob Pendleton wrote:
SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||||||
|
sdl and gl stereo |
Alberto Luaces
Guest
|
"Vittorio G." writes:
Check this link: http://local.wasp.uwa.edu.au/~pbourke/miscellaneous/stereographics/stereorender/ It explains the theory behind stereo rendering. -- Alberto _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||
|
sdl and gl stereo |
sdl and gl stereo |
Alberto Luaces
Guest
|
Jonathan Dearborn writes:
I think SDL_GL_STEREO is for quadbuffering, a stereo mode that it's rarely available (it's present on high end cards like Quadro). -- Alberto _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||
|
sdl and gl stereo |
Vittorio G.
Guest
|
thanks for the link, that's one of the examples i had in mind
if i got it correctly GL_STEREO in single buffer just enables an additional buffer and renames the two buffers in FRONT_LEFT and FRONT_RIGHT; if you use double buffering then this turns on quad buffering (that's only availallbe in a few card) i'll try to work something out of this Vittorio On Fri, Jul 2, 2010 at 4:11 PM, Alberto Luaces wrote:
SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||||
|
sdl and gl stereo |
Bob
|
On Fri, Jul 2, 2010 at 9:39 AM, Vittorio G. wrote:
Before you do that you should first figure out how you are going to display the stereo images. Do you have a stereo display screen? Do you have shutter glasses? How are you going to do that? You can't just put it on the screen and see stereo. Bob Pendleton
-- +----------------------------------------------------------- + Bob Pendleton: writer and programmer + email: + web: www.TheGrumpyProgrammer.com _______________________________________________ SDL mailing list http://lists.libsdl.org/listinfo.cgi/sdl-libsdl.org |
|||||||||||||||||||||
|