A new approach

0 views
Skip to first unread message

B W

unread,
Oct 17, 2010, 3:11:28 PM10/17/10
to Gumm's RPG Cloud
Hi, Jon.

It has been quite a while, and I hope you're well. I also hope you're still interested in the RPG project and not otherwise deeply engaged, because here's a completely new thing. I find it pretty exciting and I expect you would too.

http://code.google.com/p/worldkit/

For this I'm using:

Python 2.6
PyOpenGL 3
Pyglet 1.1.4

It is based on the examples and API from the commercial book, OpenGL Superbible, Revision 4. The original C++ source and compiled examples are available here http://www.starstonesoftware.com/OpenGL/.

I put a lot of work into the conversion from C++ to Python, and the results are very impressive (to the credit of Mr. Wright, the OpenGL Superbible author). I'm up to chapter 8, and the sphereworld examples just blow me away. They perform well with a respectable number of objects. This is pure Python--Pyglet, PyOpenGL, and the examples--no C/C++ libraries underneath (except, of course, the native OpenGL and Python core).

And the best thing is this stuff is very usable, even for a math dummy like me. :) Pyglet handles most of the laborious details of OpenGL setup, and the 3D modules by Mr. Wright handle much of the geometry. Yeah, I know. I'm only translating the examples now. We'll see if I keep saying that once I get off the beaten path... :P

Gumm
Reply all
Reply to author
Forward
0 new messages