Hello,
I'm new to OGRE, so sorry if my question is stupid.
I want to use OGRE::World for loading world geometry from .bsp files, and
OgreOde for game physics and collision detection.
How can I have this two things working together? I mean load bsp from file into
OGRE::World and detect collisions with this world in OgreOde::World.
I want to use one of the Q3 level editors for creating rooms and static objects and translate maps to bsps.
If you can give me some hint, I'll be grateful.
ORGE::World and OgreOde::World - BSP map and collision
-
- Gnoblar
- Posts: 15
- Joined: Wed Apr 13, 2005 12:57 pm
- Location: St.Petersburg, Russia
ORGE::World and OgreOde::World - BSP map and collision
Best regards,
Leo.
Leo.
-
- Hobgoblin
- Posts: 593
- Joined: Fri Apr 08, 2005 6:08 pm
- Location: WA, USA
You might want take a look at:
http://www.ogre3d.org/phpBB2/viewtopic.php?t=9337
http://www.ogre3d.org/phpBB2/viewtopic.php?t=9337
-
- Gnoblar
- Posts: 15
- Joined: Wed Apr 13, 2005 12:57 pm
- Location: St.Petersburg, Russia
Yes, I looked through it, and I've already written the code that loads bsp geometry into my BSP Scene manager, but I'm looking for method (technique) to translate loaded geometry (walls, floor, archs etc) into my ogreode::world. I use ogreode::world for storing my moving objects, applying physics and detecting collisions. So if I didn't translate the walls to my ogreode from bsp scene then my creatures couldn't collide with them.Olex wrote:Nice icon, dude!
@KingLeonid: Hto eto na icone? Ivan durachok?
I suppose you have already looked at BSPSceneManager? and at BSP Ogre demo?
Any hints?
P.S: Picture was taken from 'Alesha Popovich' cartoon...

Best regards,
Leo.
Leo.
-
- OGRE Expert User
- Posts: 829
- Joined: Sat Oct 02, 2004 2:20 pm
- Location: California, USA
-
- Gnoblar
- Posts: 15
- Joined: Wed Apr 13, 2005 12:57 pm
- Location: St.Petersburg, Russia
Yes, you are right, this demo uses ODE for physics and RefApp layer forwalaber wrote:I think the "BSP Collision" demo uses a BSP room + ODE for physics, so looking at the code for that demo might be useful...
integration with BSP, but I'm trying to put together bsp and OgreODE addon
written by Monster. It uses its own World concept and has no connection with
RefApp and OGRE::World.
Best regards,
Leo.
Leo.
-
- Gnoblar
- Posts: 21
- Joined: Fri Apr 15, 2005 2:12 am