Guidance
指路人
g.yi.org
Guidance Forums / wxWidgets (wxWindows) in C++ / OpenGL Stereo

Register 
新用户注册
Search 搜索
首页 
Home Home
Software
Upload

  
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
Message1. OpenGL Stereo
#4299
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!
Maverick
Forum List • Thread List • Reply • Refresh • New Topic • Search • Previous • Next First 1 Last
掌柜推荐
 
 
 
 
 
 
 
 
 
 
 
 
© Wed 2021-4-14  Guidance Laboratory Inc.
Email:webmaster1g.yi.org Hits:0