Python-Ogre is a Python(external link) binding for OGRE, which means you can use all of OGRE's functionality using Python instead of C++. If you want to know why you would want to do that, read this.

Python-Ogre is based upon Py++(external link) ( Boost(external link)) and replaces the original PyOgre wrapper. Even though a few things have changed between PyOgre and Python-Ogre, most of the documentation found here should still be valid. The names PyOgre and Python-Ogre will therefore be used interchangeably. The development site for Python-Ogre is here(external link), and a PyOgre/Python-Ogre oriented forum can be found here(external link).
Python-Ogre has an own wiki(external link) now.

The informations here can be outdated.

Look to link).



Downloading and Installing

Note: the Python-Ogre bindings are built against the latest Ogre version 1.6.0RC1



How to install and setup PyOgre (Deprecated)

These pages are no longer valid - refer link) - although, in a nutshell(on windows), you may either:
a) download python 2.5, and pyogre, intall both in that order
b) install python 2.6, pyogre, then the pyogre(for py 2.6) update - which involves replacing pyogre files, and copying files into your python site packages


Using Python-Ogre

Learn how to use Python-Ogre. This includes tutorials and code snippets.

There are also many more examples in your C:\PythonOgre\demos folder.

Examples and Tutorials

These all need to be converted to Python-Ogre, although they still remain valid.

Older Tutorials
  • PyOgre Tutorial1 - Step by step guide: Explaining "scene, light, mesh, skydome, camera" building the first pyogre application.

Code Snippets

CEGUI for PyOgre


New to Python?

Want to use OGRE, but don't like wrestling with your programming language? Then Python is for you. These links will guide you towards becoming a Python master!

Python Tutorials

Free Python Books

Useful 3rd-party Python libraries

  • PyOde(external link) - ODE binding (Physics library)
  • ALPY(external link) - (exe)(external link) - Abstracted OpenAL binding (Sound library) (GPL)
  • PyOpenAL(external link) - (exe)(external link) - OpenAL Binding (LGPL)
  • PySonic(external link) - FMOD Binding (Sound/Music library) (Free for noncommercial use)
  • PyGame(external link) - Game engine that has an audio part you can combine with OGRE.
  • Python Imaging Library (PIL)(external link) - Adds image processing capabilities.
  • wxPython(external link) - A wxWidgets binding, useful for integrating PyOgre in an editor. (GUI toolkit)


Digital Content Creation

Here are links to various useful pages about creating digital content, such as textures, levels, and models for PyOgre.

  • Tools - Modellers, exporters and OGRE add-on projects
  • Tutorials - Smaller guides working with modellers, 2D graphics programs, etc
  • External Resources - Links and books specifically about content creation


About PyOgre

Here's a diagram that describes PyOgre and how works together with other components to form an application. In Linux, py2exe(external link) would be replaced by freeze(external link). On Mac, use py2app(external link).

Contributors to this page: jacmoe180265 points  and OgreWikiBot54 points  .
Page last modified on Thursday 31 of December, 2009 02:57:24 UTC by jacmoe180265 points .

The content on this page is licensed under the terms of the Creative Commons Attribution-ShareAlike License.
As an exception, any source code contributed within the content is released into the Public Domain.