I found some useful piece of code in the wiki:
http://www.ogre3d.org/wiki/index.php/OgreConsole
This is pretty interesting and I think I´ll port it to PythonOgre. Just one question:
Does anyone know, how u could pass a string given from the console to the Python interpreter. This would allow us to use Python as ingame Scripting language.
Game_Ender
13-12-2007 18:08:19
fpois
15-12-2007 11:19:20
@SiWi
you might want to remove that "." at the end of the link you posted, but it's interesting though...
with the project that we're developing we actually use pycrust to do all that stuff, but then we're not building a fullscreen app, so that might not apply...
oops.

.
Pycrust looks pretty interesting. I see it´s included with wxpython, right?
So this would be the best solution for all, who are using Pycrust in their Apps.
On the other hand a solution for all Ogre apps wouldn´t be the worst I think.
ethankennerly
02-02-2008 05:38:08
I used PyCrust with Python-Ogre in a student project last semester (to turn a 14-projector room into panoramic view for a "spaceship"). It was delicious. I ran the Python-Ogre application from PyCrust. From there on, I had PyCrust's namespace browser and auto-complete and calltip features to guide me through the spellings and signatures. Not to mention updating and editing the application in real-time.
I ran Ogre in windowed mode, so to have real-time rendering while focus was in the interpretter, I used this command, which I read about on one of the Ogre forums.
app.renderWindow.setActive( True )
Now I'm using Python-Ogre for my
thesis. I'm a designer by trade, so programming is slower for me, but compared to programming in C++ for an Ogre game like
Euphonics, Python-Ogre has been a blessing.
Yesterday I found a rapid application technique for Python-Ogre, using PythonCard. From any PythonCard application's shell, import and run the Python-Ogre application. This is just like PyCrust with something else: You can rapidly prototype GUIs in PythonCard. For a test case, I implemented a color picker. Going forward, I will be constructing an agile Python-Ogre editor.
For a shameless plug, my MFA thesis team for
Runesinger needs a lead Python-Ogre programmer. You can see the poster and contact info
here.
-- Ethan
Entropai
04-02-2008 09:15:28
I used PyCrust with Python-Ogre in a student project last semester (to turn a 14-projector room into panoramic view for a "spaceship"). It was delicious. I ran the Python-Ogre application from PyCrust.
-- Ethan
Just out of curiosity, what kind of setup did you have for that projector system? I'm currently investigating using the Python-OGRE for VR enviroment (multiscreen setup) and would be interested in for more details.
Thanks in advance.
ethankennerly
02-03-2008 01:52:02