Jump to content
  • Advertisement
Sign in to follow this  

OpenGL C OGL calls drawing to a window setup in Python?

This topic is 2851 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I've often used ctypes to make different calls from python modules, but I recently thought of a problem which I'm not really sure how to attack. (Most of my work in the last while has centered around various data processing, and most of my programming has been commandline or minimal GUI at best.)

I'm trying to come up with what would be the easiest to use tools to create my window, and handle all the other GUI/mouse/keyboard issues in Python, while doing the actual openGL draw calls and main stored data stuff in a C library or two.

The ideal method would be one that is easily cross platform as I work in both Windows and Linux (Ubuntu) at my university, and I rather be able to work in either lab.

General tips on effective ways of structuring code for openGL development are also more than welcome. While I've been experimenting with it for awhile, I will admit my code is still ugly as sin. (But it works. Well, assuming I don't do something stupid like accidentally drawing everything backwards while backface culling is on.)

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!