rollingt
11-08-2007 05:16:02
Hi,
I'll skip the part where I say how great PythonOgre is.
I am having a problem with the tutorial code:
This runs fine, I see the robot, can move the camera, etc.
However, when I hit escape the window does not disappear. I can ctrl-alt-del, but if I'm running in full screen mode I can't see the task manager (only the mouse cursor). (If I run in windowed mode I can kill the app using the task manager)
I am using Python 2.5 on winXP, Radeon X1900GT and get the same problem in DirectX and OpenGL.
The demos run and exit without any problems.
Any idea what the problem is?
Thanks.
I'll skip the part where I say how great PythonOgre is.

I am having a problem with the tutorial code:
import ogre.renderer.OGRE as ogre
import SampleFramework as sf
class TutorialApplication(sf.Application):
def _createScene(self):
sceneManager = self.sceneManager
sceneManager.ambientLight = ogre.ColourValue(1, 1, 1)
ent1 = sceneManager.createEntity("Robot", "robot.mesh")
node1 = sceneManager.rootSceneNode.createChildSceneNode("RobotNode")
node1.attachObject(ent1)
if __name__ == '__main__':
ta = TutorialApplication()
ta.go()
This runs fine, I see the robot, can move the camera, etc.
However, when I hit escape the window does not disappear. I can ctrl-alt-del, but if I'm running in full screen mode I can't see the task manager (only the mouse cursor). (If I run in windowed mode I can kill the app using the task manager)
I am using Python 2.5 on winXP, Radeon X1900GT and get the same problem in DirectX and OpenGL.
The demos run and exit without any problems.
Any idea what the problem is?
Thanks.