Dutchie
12-02-2008 15:07:48
Hi,
i am trying to use NxOgre again. i have a basic Ogre program with a black screen, and when i try to make NxOgre it crashes. i use version 0.9-38 of nxogre.
this is how i do it:
does anyone know how to fix?
i am trying to use NxOgre again. i have a basic Ogre program with a black screen, and when i try to make NxOgre it crashes. i use version 0.9-38 of nxogre.
this is how i do it:
ogre = new Ogre::Root("", "", "Ogre.log");
[load render system and create window]
// -- Setup Scene Manager -- //
sceneMgr = ogre->createSceneManager("OctreeSceneManager");
[create camera, setup viewport]
// -- Setup Frame Listener -- //
ogre->addFrameListener(this); // my engine class is its own framelistener
// -- Setup NxOgre -- //
nxworld = new NxOgre::World("FrameListener: No, log: html");
nxscene = nxworld->createScene("Main", sceneMgr, "gravity: yes, floor: yes");
does anyone know how to fix?