stnal
08-11-2010 09:39:17
Hi all,
Maybe you can help me!
I'm using the Ogre C++ SDK and I still want to embed a python interpreter in a different thread, this is mainly good for prototyping.
These are my requirements:
1. I want to be able to manipulate entities while the game is running.
import ogre
ball = ogre.getObjectByName("Ball")
ball.rotate([x,y,z])
2. Want to be able to register a callback per frame
3. Want to be able to register a callback for OIS events
And that's about it, I don't want to code my whole game in Python but I still want python capabilities for prototyping.
I thought about reusing the code of Python-Ogre, is it available for download?
Also, do you have any more guidelines for this? I know how to embed python in external applications.
Thanks for your help,
- Stn
Maybe you can help me!
I'm using the Ogre C++ SDK and I still want to embed a python interpreter in a different thread, this is mainly good for prototyping.
These are my requirements:
1. I want to be able to manipulate entities while the game is running.
import ogre
ball = ogre.getObjectByName("Ball")
ball.rotate([x,y,z])
2. Want to be able to register a callback per frame
3. Want to be able to register a callback for OIS events
And that's about it, I don't want to code my whole game in Python but I still want python capabilities for prototyping.
I thought about reusing the code of Python-Ogre, is it available for download?
Also, do you have any more guidelines for this? I know how to embed python in external applications.
Thanks for your help,
- Stn