Guidance Forums / wxWidgets (wxWindows) in C++ / OpenGL Stereo

Search 搜索
Home Home

Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. OpenGL Stereo
Posted by: 2004-06-01 01:20:31
Hi everyone,

Well, I've google-d my brains out, checked the newsgroup to no avail, and now I thought I'd ask here.  I have a wonderfully functioning wxwindows 2.4.2 openGL program (built w/ Dev-Cpp), but alas, I cannot for the life of me get the stereo to work.  I've added the WX_GL_STEREO flag/attribute to the constructor of my GLCanvas, and tried working with the different buffers like you would under SDL or GLUT, but all I get is the same mono image.  Yes, my video card has stereo available, enabled, etc.; I've got an old non-wx version of the program (it uses SDL instead) that has the stereo working perfectly.

Can someone either point me to a link to a "how-to" on using openGL stereo under wx?  Or, better yet, how about a really simple example program?  Even just modifying the "cube" sample program to be stereo would be wonderful....  if you have some code that you'd like to share, email it to me at cscc_leth AT hotmail DOT com or maverickstruth AT eml DOT cc

Thanks much, everyone!
Forum List • Thread List • Refresh • New Topic • Search • Previous • Next First 1 Last
© Tue 2024-7-23  Guidance Laboratory Inc. Hits:0