[PyOpenGL-Users] newbie install question: PyOpenGL confused by 2.2 and 2.3?
Brought to you by:
mcfletch
From: David v. K. <dvu...@ho...> - 2003-08-27 19:00:00
|
Hi, I've tried to follow the instructions on http://pyopengl.sourceforge.net/documentation/installation.html to install PyOpenGL on my Win XP system. I first D/L'ed GLUT 3.7.6 and updated my NVIDIA driver, just in case! I can see a prebuilt .exe (smooth) so I know that everything is OK outside the Python world. However, running the GLUT example molehill.py doesn't quite work. Double clicking the .py file gets me the "OpenGL.GL module doesn't exist" error that means (to me) that I'm running the IDE from the Python 2.3 directory. Choosing Pythonwin from the 2.2 directory and opening/running molehill.py gets me a blank window, titled molehill. Is my problem that I shouldn't try to launch a PyOpenGL app from inside a Python GUI? Or is 2.3 still getting in the way at some other level? My ultimate interest in PyOpenGL is to write an OpenGL accelerator script for the app Poser, from Curious Labs. Poser renders in software, slowly. Poser has an embedded Python 2.2 interpreter. Poser can export Wavefront OBJ files, so I hope to take the OBJ file, parse it with glm, render, and ReadPixels back into Poser. Looking beyond my immediate problems, I notice that Poser creates polygons other than triangles. Will I have to triangulate everything before I can use glm? Thanks for your advice, David vun Kannon |