Tutorial 1 Displaying Only Black Render Window (?)


12-07-2007 19:43:14

Dear MOGRE Community,
after quite a bit of puzzling I managed to get Mogre .2 working based on the installer from the Wiki page. All the Release versions of the Demos compile properly and run. None of the Debug versions do, however.

I successfully completed Tutorial 0 by copying the Executable produced by Visual C# Express (w/ Sp1) in the Release directory to the C:\OgreSDK\bin\release directory. Copying the file here is the only way I could get it to run.

Looking forward to displaying some robots, I followed Tutorial 1

void SceneCreating(OgreWindow win)
SceneManager mgr = win.SceneManager;
mgr.AmbientLight = new ColourValue(1, 1, 1);

Entity ent = mgr.CreateEntity("Robot", "robot.mesh");
SceneNode node = mgr.RootSceneNode.CreateChildSceneNode("RobotNode");

Entity ent2 = mgr.CreateEntity("Robot2", "robot.mesh");
SceneNode node2 = mgr.RootSceneNode.CreateChildSceneNode("RobotNode2", new Vector3(50, 0, 0));

Unfortunately, when I run the program, all I get is the same blank screen as in Tutorial 0. Does anyone have an idea of what I might be doing wrong here?

Thank you very much for your time and assistance.