Original Post
🔒 Locked
Python tutorials code
Advertisement
Well, so far, 1 and 3 have errors in them (making a call to sys.exit() when sys hasn't been imported) and use glut commands that don't exist in PyOpenGL anymore (glutSetDisplayFuncCallback(), etc.) and all of them use glutInit() without sys.argv (1 and 3 don't pass glutInit() a list, and cause the program not to run.) Overall, the current code will not run because of the non-existant commands being used, and errors in the handling of glutInit(). The problem with not importing sys is not Fatal, as it only causes the program throw up an error and die when it was supposed to die anyway.
I am using Python 2.4.4 and the latest version of PyOpenGL available to Sabayon users through emerge: 2.0.1.09 (released in 2004)
I am using Python 2.4.4 and the latest version of PyOpenGL available to Sabayon users through emerge: 2.0.1.09 (released in 2004)
Topic Locked
This topic has been locked by a moderator. New replies are not allowed.
Sign in to reply to this topic.
Advertisement