OpenGL 3.x examples for linux
[font="arial, sans-serif"][color="#333333"]Can anyone give me example how to draw simple triangle on linux (with all window and context creation)[/font]
[font="arial, sans-serif"][color="#333333"]I can do this on windows , but want to [/font]achieve this on linux with x11 and glx
[font=arial, sans-serif][color=#333333]Can anyone give me example how to draw simple triangle on linux (with all window and context creation)[/font]
[font=arial, sans-serif][color=#333333]I can do this on windows , but want to [/font]achieve this on linux with x11 and glx
Is there a reason why you need to use GLX? If you don't already know OpenGL, forcing yourself to learn both GLX and OpenGL at the same time will be confusing not to mention that few people will be able to help since its OS specific. I suggest you drop GLX and get it working with Freeglut or some other toolkit that will abstract away the boiler plate code. Once you're comfortable with OpenGL it will be much easier to write native code.
If you like books, there is the OpenGL SuperBible 5th Edition. Its concerning OpenGL 3.0 (actually 3.3+) and contains platform code and examples for Windows, Linux and MacOS.
The updated source from the book is freely available from http://www.starstonesoftware.com/OpenGL/
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement