Skip to main content
GameDev.net gamedev.net
🔒 Locked

Best structure for Moving objects?

Started by bilsa Sep 7, 2005 at 3:49 PM 1 replies 750+ views
Original Post
bilsa
bilsa
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!
ldeej
ldeej
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
dmatter
dmatter
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.

Topic Locked

This topic has been locked by a moderator. New replies are not allowed.

Sign in to reply to this topic.