Jump to content
  • Advertisement
Sign in to follow this  
chillypacman

Create an entire level using a .x and ODE - too much to ask?

This topic is 4076 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

Would it be possible to have an entire static model (.x) loaded as a level. Basically the entire mesh is static and uses ODE for per poly collision detection (rather than bounding box). Would it be possible/sane to do this? If so, how? Is there another (more appropriate perhaps?) way to create levels? Maybe an open source alternative or a basic concept I could build off?

Share this post


Link to post
Share on other sites
Advertisement
From what ive heard, not a good idea. Ide recommend something like the
quake 3 bsp's because there pretty easy to load and there are many tools to make these maps with. Also, i think there are bsp's built directly into the map, so you could implement culling for large maps.

Share this post


Link to post
Share on other sites
The biggest problem with doing it as a single object is that you would be checking collision with every polygon in the entire level all the time, which is insanely slow. You are much better off creating the level as a set of objects, and only checking collision with objects that are nearby.

Share this post


Link to post
Share on other sites
actually I like the idea of implementing a BSP style system. I think that would ssave a lot of development time. If I were to to use x files as originally planned and break them up to save calculations it would mean I'd also have to create a level editor from scratch as well...

Can BSP's work with ODE and x files or are they too much of a hassle? Also are there any resources that could help me go about oding htis? (open source codes or tutorials in generel).

edit: bleh, it might be too much of a hassle trying to get BSP's working. I'm going to just build the levels out of seperate .x files and use seperate body's to minimize calculations. It should work fine, just have to get a handle of ODE's triangle mesh class.

[Edited by - chillypacman on May 26, 2007 12:21:41 AM]

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!