History: Python-Ogre
Source of version: 16 (current)
Copy to clipboard
{DIV(class="Layout_box1")}
{IMG(src="img/wiki_up/PythonOgreLogo.png" imalign="left")}{IMG}
%clear%
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 ((Alternative Languages|this)).
{DIV}
{DIV(class="achtung")}__IMPORTANT__ PyOgre and Python-Ogre have been discontinued. OGRE >= 1.10 provides Python bindings directly as a component.
For Ogre 1.12, rather use {CODE(theme="default")}pip install ogre-python{CODE}{DIV}
{SPLIT(colsize=60%|40%)}
~tc~ LEFT ~/tc~
{DIV(class="Layout_box6")}
{IMG(src="img/wiki_up/Tools.png" imalign="left")}{IMG}
!!!!How to install and setup PyOgre (Deprecated)
These pages are no longer valid
* ((Installation of PyOgre))
* ((PyOgreDirectorySetup)) - How to set up a nicer directory structure
* ((PyOgreBuildingOnWindows)) - How to get PyOgre from the CVS and build it on your own
* ((How to build PyOgre on linux)) - How to compile PyOgre on various distributions
* ((How to build PyOgre documentation)) - How to build PyOgre documentation from source
{DIV}
{DIV(class="Layout_box6")}
{IMG(src="img/wiki_up/Star.png" imalign="left")}{IMG}
!!!Using Python-Ogre
''Learn how to use Python-Ogre. This includes tutorials and code snippets.''
''There are also many more examples in your {MONO()}C:\PythonOgre\demos{MONO} folder.''
!!!!Examples and Tutorials
These all need to be converted to Python-Ogre, although they still remain valid.
* ((Introduction to PyOgre)) - A short primer and introduction to PyOgre
* ((PyOgre Beginner Tutorial 1)) - The SceneNode, Entity, and SceneManager constructs
* ((PyOgre Beginner Tutorial 2)) - Cameras, Lights, and Shadows
* ((PyOgre Beginner Tutorial 3)) - Terrain, Sky, Fog, and the Root object
* ((PyOgre Beginner Tutorial 4)) - Frame Listeners and Unbuffered Input
* ((PyOgre Beginner Tutorial 5)) - Buffered Input
* ((PyOgreExecutable)) - How to turn PyOgre applications into windows executables with py2exe
* ((PyOgre Without Configuration Dialog)) - Start OGRE without the configuration dialog that usually pops up
* ((Using PyGame with PyOgre)) - Use PyGame in conjunction with PyOgre
!!!!Code Snippets
* ((PyOgreSimpleTextInterface)) - Describes "a crude way to input text"
* ((PyOgreOctreeCollisions)) - A python point octree class for simple scene culling for collisions
{DIV}
---
~tc~ RIGHT ~/tc~
{DIV(class="Layout_box6")}
{IMG(src="img/wiki_up/Lifesaver.png" imalign="left")}{IMG}
!!!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
* [http://wiki.python.org/moin/BeginnersGuide|Python's official beginners guide]
!!!!Free Python Books
* [http://www.greenteapress.com/thinkpython/|How to Think Like a Computer Scientist: Learning with Python]
* [http://diveintopython.org/|Dive Into Python]
* [http://www.network-theory.co.uk/docs/pytut/|An Introduction to Python (by the creator of Python)]
!!!!Useful 3rd-party Python libraries
* [http://pyode.sourceforge.net/|PyOde] - ODE binding (Physics library)
* [http://www.stolk.org/alpy/|ALPY] - [http://people.cc.jyu.fi/~shang/alpy-contrib/libal-1.1.win32-py2.4.exe|(exe)] - Abstracted OpenAL binding (Sound library) (GPL)
* [http://home.gna.org/oomadness/en/pyopenal/|PyOpenAL] - [http://soya.literati.org/WindowsInstallers|(exe)] - OpenAL Binding (LGPL)
* [http://pysonic.sourceforge.net/|PySonic] - FMOD Binding (Sound/Music library) (Free for noncommercial use)
* [http://www.pygame.org|PyGame] - Game engine that has an audio part you can combine with OGRE.
* [http://www.pythonware.com/products/pil/|Python Imaging Library (PIL)] - Adds image processing capabilities.
* [http://www.wxpython.org/|wxPython] - A wxWidgets binding, useful for integrating PyOgre in an editor. (GUI toolkit)
{DIV}
{DIV(class="Layout_box6")}
{IMG(src="img/wiki_up/Artist.png" imalign="left")}{IMG}
!!!Digital Content Creation
''Here are links to various useful pages about creating digital content, such as textures, levels, and models for PyOgre.''
* ((Assembling a production pipeline|Tools)) - Modellers, exporters and OGRE add-on projects
* ((DCC Tutorials|Tutorials)) - Smaller guides working with modellers, 2D graphics programs, etc
* ((DCC Resources|External Resources)) - Links and books specifically about content creation
{DIV}
{SPLIT}
{DIV(class="Layout_box6")}
{IMG(src="img/wiki_up/New.PNG" imalign="left")}{IMG}
!!!About PyOgre
''Here's a diagram that describes PyOgre and how works together with other components to form an application. In Linux, [http://www.py2exe.org/|py2exe] would be replaced by [http://wiki.python.org/moin/Freeze|freeze]. On Mac, use [http://undefined.org/python/py2app.html|py2app].''
{IMG(src="img/wiki_up/PyOgre_Pipeline.JPG")}{IMG}
{DIV}