Just like the other forums I am making this topic sticky to have a place to post references to projects using PyOgre. I'll add my own project later tomorrow.
Well it's not quite a full fledged project, but I've gotten PyOgre embedded in a C++ application (with all scene creation and FrameListener functionality in python land), and I figured this would be the best place to brag about it. =)
Here's the magic:
class EmbeddedApplication : public ExampleApplication
{
public:
virtual void createScene(void)
{
FILE *file = fopen("CreateScene.py", "r");
PyRun_SimpleFile(file, "CreateScene.py");
if (PyErr_Occurred())
OGRE_EXCEPT(412, "CreateScene.py", "EmbeddedApplication::createScene");
}
virtual void createFrameListener(void)
{
FILE *file = fopen("FrameListener.py", "r");
PyRun_SimpleFile(file, "FrameListener.py");
if (PyErr_Occurred())
OGRE_EXCEPT(412, "FrameListener.py", "EmbeddedApplication::createFrameListener");
}
};
You can see this demo in SVN in the demos/embedded folder. Note that this is currently not a supported feature of pyogre until I have a chance to clean it up and expand the functionality. My goal is, once I've figured out a good system for manipulating objects, is to write up a series of tutorials embedding Python in C++ ogre apps. It will take some time, however, to accomplish this, so please be patient. =)
Clay
Kanma
10-10-2005 08:33:33
I use Python as the scripting language of my framework (mainly because of pyOgre ^^). pyOgre is used in conjonction with the bindings of the framework, and was a great example to make this one.
It was also really easy to make a simple in-game console (cegui based), so thanks fog and Clay for that great lib!
willism
21-10-2005 16:47:33
Hi,
I'm a Computer Science major taking my last semester before getting my Bachelor's Degree. For my senior project, I'm using pyogre for a program that simulates the behavior of electrons in magnetic fields.
Right now I just have a prototype that I've thrown together over the past couple of weeks. The graphics aren't really amazing (yet), but I just wanted to show off what I've been able to put together with pyogre.
http://pg.photos.yahoo.com/ph/chuckwill ... pg&.src=ph
http://pg.photos.yahoo.com/ph/chuckwill ... pg&.src=ph
http://pg.photos.yahoo.com/ph/chuckwill ... pg&.src=ph
-Michael
[EDIT]I fixed the links. (One of these days I'll get a better place to host my files)[/EDIT]
Srekel
21-10-2005 18:05:42
I get "Cannot connect to server".
Srekel
25-10-2005 07:00:10
Wow that's pretty cool Srekel. Nice job. =)
griminventions
25-10-2005 18:33:54
A Violent World is very impressive!
I'm especially happy to see a lot of units going at once with no particular slowdown on my lowly Windows 800mhz computer with an ancient video card. Just shows that Python is definitely capable for games and OGRE is a very scalable renderer.
Great stuff.
Srekel
25-10-2005 19:12:45
It does?
We had a lot of problems a couple of weeks ago with performance. Since then we've optimized the zombie AI code and a bunch of other stuff that must've done some good.
How many zombies can you have in view (and out of view) and still get 15 or 20 FPS? It would be interesting to know which video card you own and how much ram you have in your computer.
The minimum specs for the constest is a 1.5ghz / Geforce3 / 256mb ram so we're really trying to make things go as fast as possible. We've thought about rewriting some stuff in C, but we've been busy fixing more important things.
griminventions
26-10-2005 01:08:59
Is there a key to show the fps while playing?
This is nowhere near your minimum.

800mhz cpu, 32mb onboard video (some old Intel card, I think), 128mb system memory. It used to be my test machine until my dev machine burned out on me.
I'd test it on my Mac, too, but, alas... PyOgre won't run on Mac.
It'd be great if you would open source this. Could learn a lot from it.
viblo2
26-10-2005 08:33:18
Is there a key to show the fps while playing?
This is nowhere near your minimum.
800mhz cpu, 32mb onboard video (some old Intel card, I think), 128mb system memory. It used to be my test machine until my dev machine burned out on me.
I'd test it on my Mac, too, but, alas... PyOgre won't run on Mac.
It'd be great if you would open source this. Could learn a lot from it.
Yes, you can press f to bring up the ogre-statistics overlay.
Srekel
02-11-2005 20:12:16
Wow that's really neat.
I think you should have named that one "Hell vs High Water", though maybe that's only an american expression. =)
Srekel
04-11-2005 13:09:15
haha, I don't know. I just picked the name because there was water on one side and some "hellish" ground on the other side.
Srekel
06-11-2005 01:44:48
By the way, if I didn't mention it already. The source code for the game is included in the download, if anyone is interested.
totalknowledge
14-11-2005 17:14:52
I have a little mini project I am about to partake, and I am going to probably be asking questions here from time to time. I am going to be making a demo (drawing from some other demos) which goes a little more into game programming, which will be coupled with a tutorial.
I will be using PyOgre, wxPython and PyODE (I think these three will make a relatively complete game).
Is it ok to make a thread on it where I can ask questions?
The first thing I want to figure out is how to over ride the engine selection screen each time you start a program with ogre in it.
It would probably be best to start a new thread.
The config dialog is shown in the SampleFramework.py file... The call is root.showConfigDialog. Most of the functions to get and set the variables that are displayed in the config dialog are in the
Root class.
bigjhnny
06-12-2005 18:45:41
By the way, if I didn't mention it already. The source code for the game is included in the download, if anyone is interested. 
Can you point me to where the source is? I only seemed to find pyc files in the unzipped folder. Thanks.
Srekel
06-12-2005 20:48:20
Which version did you get? The one from the contest page is much more recent (I don't think the other one has src-files). It seems to be down now though, so I've uploaded them:
http://srekel.net/files/files/AVW%5Fsrc.zip
willism
13-12-2005 21:24:05
Hi all,
I just finished up a semester-long project that uses PyOgre. It's a parallel processing physics simulation. It allows the user to describe a system of magnets and electron guns (with an XML file). Then the user can fire up the simulator and watch the electrons fly in crazy arcs, loops, and spirals, depending on where the guns and magnets are placed. I mentioned it earlier in this forum, when I just had the prototype built.
Unfortunately, I don't have a place to host the files so that I can show it off to everybody else here in the forum. Any suggestions?
Mike
Sounds cool...
I can host it if you want to email it to me. Clay {at} idleengineer {dot} net.
willism
21-12-2005 04:34:47
Ok,
Clay has hosted my project so that everybody can take a look. You can find it here:
http://www.idleengineer.net/files/ElectronSim.zip
This was a project for school. The general idea was to have one computer rendering the graphics while several other computers perform the calculations. It requires at least two networked computers to operate properly (more computers are better). It also requires some configuration before it will work. PLEASE read the manual.html file found in the documentation directory before trying it out.
Regards,
Mike
line72
29-04-2006 14:18:48
Hi all,
I just released the first version of a little 3d puzzle game I wrote with pyogre + pyode. It's open source (GPL), and runs under Windows and Linux. You can check it out at:
http://bbm.sf.net/
/Mark
willism
05-05-2006 13:38:28
Nice... it reminds me of an open-source game called "Neverball".
0x336699
06-09-2006 05:56:32
scriptkid
18-01-2007 15:56:05
Hi all
For the past 2,5 months i have been working on a little commercial game using PyOgre. I posted the complete thread in the main Ogre forums, because that's easier for people to reply if they want to, because the addon forums require another login IIRC. I hope you understand my argument! Anyway, you might have a peek here:
http://www.ogre3d.org/phpBB2/viewtopic.php?t=27950
Thanks for the great binding, really appreciated!
saluk
18-01-2007 18:02:20
Nice scriptkid! Great use of python.
I have been working on a persistent world game for a little over a year with an artist/designer friend using the blender game engine, and have just spent the last month porting it to python-ogre. Let me just say, that I am surprised by how smoothly it has gone, and how much easier this engine is to work with. And the wrapper is very nice as well. Just a joy to work with, even if CEGUI is really weird with it's unified coordinates, and even though the Ogre api can sometimes seem to be a dense impenetrable fortress
I'll post it in the real showcase when I'm finished with the port.
website:
http://cdo.dawnsoft.org/
scriptkid
18-01-2007 21:19:03
Thanks!
I have checked out your website too, which looks nice as well

Just downloaded the client and will give it a shot tomorrow!
saluk
18-01-2007 21:56:22
Just note that the client on the website is still the old blender version, I won't be releasing the ogre client until it is comparable.
jintal
26-01-2007 07:40:54
Great work script kid! kinda reminds me of the 80s movie tron. wonderful!
scriptkid
29-01-2007 08:15:07
Thanks jintal! Unfortuanatly i don't know that movie, but i looked it up and saw some screenshots of it. Was it the colors or the setting which reminded you of it? I notices some purple-ish screens indeed
scriptkid
17-03-2007 18:21:18