[Author Prev][Author Next][Thread Prev][Thread Next][Author Index][Thread Index]

Re: [pygame] Pygame and PyOGRE



Kris Schnee wrote:
Does anyone know about using Pygame together with PyOGRE to make a
Windows executable?

As far as I can tell OGRE always wants to open its own window. If you want to render into your own window (e.g. a pygame display) you have to modify the OGRE source code slightly.


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.

I know I'm biased, but you might also consider cgkit (http://cgkit.sourceforge.net). The second version can also be used to create, manipulate and visualize 3D objects at a rather high level (probably comparable to Panda3D instead of lower level scene graph systems like PyOSG or PyOGRE). Have a look at the tutorials to get a first impression.
There's also an experimental viewer that uses OGRE (the C++ libs, not PyOGRE) to display the scene. However, for now, you have to compile the package yourself if you want to use that viewer (the Windows binary doesn't include it).


But as Mike already said, the requirements you mentioned here are rather minimal and any 3D toolkit will probably be able to meet them.

- Matthias -