[PyOpenGL-Users] Re: Python 3D object loader
Brought to you by:
mcfletch
From: Simon W. <sim...@gm...> - 2005-10-05 14:33:23
|
On 5/18/05, Simon Wittber <sim...@gm...> wrote: > Hi Chaps, > > I'm building a simple game, and need some way to get models from my > designer team mate and display them in OpenGL, preferably using a > display list. I've since implemented a Quake II model loader (md2) and renderer which uses glDrawArrays. The code is ugly and probably horribly inefficient at the moment, but I thought I would share my efforts anyway :-) The loader: http://metaplay.dyndns.org:82/svn/SiGL/SiGL/md2.py The renderer and animator: http://metaplay.dyndns.org:82/svn/SiGL/SiGL/model.py The code is fairly tightly coupled in with my framework, but is fairly clear and easily changeable, and might prove of some use to someone. Sw. |