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?
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?
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 PendletonOn Thu, Jul 1, 2010 at 3:53 PM, Vittorio G. <vitto.giova at yahoo.it> wrote:
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
VittorioOn Fri, Jul 2, 2010 at 5:30 AM, Bob Pendleton wrote:
On Thu, Jul 1, 2010 at 3:53 PM, Vittorio G. <vitto.giova at yahoo.it> wrote:
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?
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.
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 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 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
VittorioOn Fri, Jul 2, 2010 at 4:11 PM, Alberto Luaces wrote:
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 think SDL_GL_STEREO is for quadbuffering, a stereo mode that it’s
rarely available (it’s present on high end cards like Quadro).
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 PendletonOn Fri, Jul 2, 2010 at 9:39 AM, Vittorio G. <vitto.giova at yahoo.it> wrote:
On Fri, Jul 2, 2010 at 4:11 PM, Alberto Luaces wrote: