Advertisement Jump to content
Sign in to follow this  
bilsa

Best structure for Moving objects?

This topic is 4885 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

Hey guys! I've read some about Yann's Adaptable binary tree structure, but as far as I have understood it... it's mainly for static objects while dynamic ones cause some problems? (Need to rebuild some blocks...) So what structure would be best for dynamic objects in large outside environments? Prefferable some new algorithms... Thx!

Share this post


Link to post
Share on other sites
Advertisement
The ones I have seen used for this are:

Quadtrees
Octrees
Sphere Trees
Hexagon Trees (Not sure if this is the name, but basically using a Hexagon for partitioning, I remember it from an old presentation but I have not seen papers on it)

Avoid structures that are dependent on the spread of objects:
BSPs
Kd-Trees

Share this post


Link to post
Share on other sites
There are also LABTs (Liquid adaptable binary trees) Yann hinted at them in a post I made (check my profile if you want) involving spatial and temporal cohesion if I remember correctly. They sound perfect for high end games with many dynamic enties

I'm sure if you ask him he'll give a little info. Preferably you would ask him in a public thread so that we all can read it rather than a Private Message.

Another (simpler) alternative is loose octrees, where the octree nodes are loosened so they overlap. I don't have any experiance to share though so I suggest a search around.

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.

GameDev.net is your game development community. Create an account for your GameDev Portfolio and participate in the largest developer community in the games industry.

Sign me up!