Artunsan
19-03-2007 11:42:30
Hi there,
I'm pretty new to NxOgre, so please forgive my ignorance. But I'm searching since 2 days and I couldn't find out how to create a static geometry from a bsp file in NxOgre. It's pretty easy to use bsp in Ogre, so we decided to use bsp as level format in our little project.
The following code works very nice in ogre, but since I can't integrate it to NxOgre, it just floats there without any material.
mSceneMgr->setWorldGeometry("ogretestmap.bsp");
The createStaticGeometry function in nxogre_scene.h seems interesting, but as I understand you can only add meshes with that.
Is there any way of creating all meshes and nodes etc from a bsp file?
PS: I really searched the tutorials, wiki, forum, google etc but I can't find anything about this.
I'm pretty new to NxOgre, so please forgive my ignorance. But I'm searching since 2 days and I couldn't find out how to create a static geometry from a bsp file in NxOgre. It's pretty easy to use bsp in Ogre, so we decided to use bsp as level format in our little project.
The following code works very nice in ogre, but since I can't integrate it to NxOgre, it just floats there without any material.
mSceneMgr->setWorldGeometry("ogretestmap.bsp");
The createStaticGeometry function in nxogre_scene.h seems interesting, but as I understand you can only add meshes with that.
Is there any way of creating all meshes and nodes etc from a bsp file?
PS: I really searched the tutorials, wiki, forum, google etc but I can't find anything about this.