[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]
Re: [pygame] Pygame and PyOGRE
Kris Schnee wrote:
...
I'm looking for a free 3D graphics system of some kind for Python;
something that will let me display cube-shaped textured tiles and view
them from any camera angle, and preferably with bells/whistles like
light sources. PyOGRE can probably do that, but I don't know how. As a
result I've been building my code to be engine-independant; it can
even display the game world in ASCII.
My OpenGLContext engine can do all of that quite readily (screenshots,
including lit and textured worlds, are here):
http://pyopengl.sourceforge.net/screenshots/context/
but then so can most of the retained-mode engines I would imagine (the
requirements are fairly minimal as described). It's already got a
Pygame context built-in (though as we discovered a few days ago, the
right and middle mouse buttons are reversed).
2.0.0 final release is very close now (I tell myself), and adds better
support for various VRML97 features including initial camera selection
and rebinding... none of which probably matter if you're just displaying
textured cubes and rotating the view platform around the place either
interactively or programmatically.
I'd be curious to see how Ogre works for you (to update the entry on the
Python 3D Software page). For other possibilities; if you mean
free-as-in-beer (gratis), you might find Panda3D usable. For libre
software, Pivy or Soya might be reasonable choices.
http://www.vrplumber.com/py3d.py?category=retained
Caveat, though, I don't know which of the others integrate well with PyGame.
Good luck,
Mike
________________________________________________
Mike C. Fletcher
Designer, VR Plumber, Coder
http://www.vrplumber.com
http://blog.vrplumber.com
PyCon is coming...