OGRE Wiki
Support and community documentation for Ogre3D
Ogre Forums
ogre3d.org
Log in
Username:
Password:
CapsLock is on.
Remember me (for 1 year)
Log in
Home
Tutorials
Tutorials Home
Basic Tutorials
Intermediate Tutorials
Mad Marx Tutorials
In Depth Tutorials
Older Tutorials
External Tutorials
Cookbook
Cookbook Home
CodeBank
Snippets
Experiences
Ogre Articles
Libraries
Libraries Home
Alternative Languages
Assembling A Toolset
Development Tools
OGRE Libraries
List of Libraries
Tools
Tools Home
DCC Tools
DCC Tutorials
DCC Articles
DCC Resources
Assembling a production pipeline
Development
Development Home
Roadmap
Building Ogre
Installing the Ogre SDK
Setting Up An Application
Ogre Wiki Tutorial Framework
Frequently Asked Questions
Google Summer Of Code
Help Requested
Ogre Core Articles
Community
Community Home
Projects Using Ogre
Recommended Reading
Contractors
Wiki
Immediate Wiki Tasklist
Wiki Ideas
Wiki Guidelines
Article Writing Guidelines
Wiki Styles
Wiki Page Tracker
Ogre Wiki Help
Ogre Wiki Help Overview
Help - Basic Syntax
Help - Images
Help - Pages and Structures
Help - Wiki Plugins
Toolbox
Freetags
Categories
List Pages
Structures
Trackers
Statistics
Rankings
List Galleries
Ogre Lexicon
Comments
History: Python-Ogre
View page
Source of version: 16
(current)
{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}
Search by Tags
Search Wiki by Freetags
Latest Changes
IDE Eclipse
FMOD SoundManager
HDRlib
Building Ogre V2 with CMake
Ogre 2.1 FAQ
Minimal Ogre Collision
Artifex Terra
OpenMB
Advanced Mogre Framework
MogreSocks
...more
Search
Find
Advanced
Search Help
Online Users
240 online users