History: Python-Ogre
Source of version: 5
Copy to clipboard
{{Layout_box1|1=
[[Image:PythonOgreLogo.png|left]]
'''Python-Ogre''' is a [http://www.python.org/ Python] 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 [[Alternative Languages|this]].
'''Python-Ogre''' is based upon [http://language-binding.net/pyplusplus/pyplusplus.html Py++] ([http://www.boost.org/libs/python/doc/index.html Boost]) 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 [http://python-ogre.org/ here], and a PyOgre/Python-Ogre oriented forum can be found [http://www.ogre3d.org/phpBB2addons/viewforum.php?f=3 here].
}}
<!-- RED WARNING BOX -->
<div style="background-color: #ff6666; border: 2px solid #010101; margin: 5px; padding: 5px;">
'''Python-Ogre has an own [http://wiki.python-ogre.org wiki] now.''' <br />
'''The informations here can be outdated.''' <br />
'''Look to [http://www.python-ogre.org www.python-ogre.org].''' <br />
</div>
<!-- LEFT -->
{|
|width="50%" valign="top"|
{{Layout_box6|1=
[[Image:Tools.png|left]]
=== Downloading and Installing ===
'''Note:''' the '''Python-Ogre''' bindings are built against the latest Ogre version 1.6.0RC1
<br style="clear: both;">
==== Software ====
* [http://www.python.org/download/ Python 2.5]
* [http://www.python.org/download/ Python 2.6]
==== Python-Ogre ====
* [http://www.python-ogre.org/ Python-Ogre Downloads]
==== How to install and setup PyOgre (Deprecated) ====
These pages are no longer valid - refer http://www.python-ogre.org - 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
* [[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
}}
{{Layout_box6|1=
[[Image:star.png|left]]
=== Using Python-Ogre ===
''Learn how to use Python-Ogre. This includes tutorials and code snippets.''
''There are also many more examples in your <tt>C:\PythonOgre\demos</tt> folder.''
<br style="clear: both;">
==== 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
* [http://wiki.python-ogre.org/index.php/Basic_Tutorial_1 PyOgre Beginner Tutorial 1] - The SceneNode, Entity, and SceneManager constructs
* [http://wiki.python-ogre.org/index.php/Basic_Tutorial_2 PyOgre Beginner Tutorial 2] - Cameras, Lights, and Shadows
* [http://wiki.python-ogre.org/index.php/Basic_Tutorial_3 PyOgre Beginner Tutorial 3] - Terrain, Sky, Fog, and the Root object
* [http://wiki.python-ogre.org/index.php/Basic_Tutorial_4 PyOgre Beginner Tutorial 4] - Frame Listeners and Unbuffered Input
* [http://wiki.python-ogre.org/index.php/Basic_Tutorial_5 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
===== Older Tutorials =====
* [[PyOgre Tutorial1]] - Step by step guide: Explaining "scene, light, mesh, skydome, camera" building the first pyogre application.
==== Code Snippets ====
* [[PyOgreSimpleTextInterface]] - Describes "a crude way to input text"
* [[PyOgreOctreeCollisions]] - A python point octree class for simple scene culling for collisions
==== CEGUI for PyOgre ====
* http://www.cegui.org.uk/modules/news/ - The CEGUI Python binding is currently under construction
}}
|width="40%" valign="top"|
{{Layout_box6|1=
[[Image:Lifesaver.png|left]]
=== 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!''
<br style="clear: both;">
==== 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)
}}
{{Layout_box6|1=
[[Image:Artist.png|left]]
=== Digital Content Creation ===
''Here are links to various useful pages about creating digital content, such as textures, levels, and models for PyOgre.''
<br style="clear: both;">
* [[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_Articles|Articles]] - More advanced and in depth pages covering many topics -->
* [[DCC Resources|External Resources]] - Links and books specifically about content creation
}}
|} <!-- END RIGHT -->
{{Layout_box6|1=
[[Image:New.PNG|left]]
=== 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].''
<br style="clear: both;">
[[Image:PyOgre_Pipeline.JPG]]
}}