🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

3D Data Structures

Started by
-1 comments, last by europa1 24 years, 7 months ago
I'm currently learning OpenGL programming, and I'm about to start on my first major project.
It's going to be an outdoor type game(ex. the game Trespasser, though not with the physics, just that sorta environment).

I'm having trouble understanding which type of data structures/sorting techniques would be best.
By this I mean for example BSP trees, Portals, Octrees, etc.


I've read much about BSP trees, but they seem primarily for indoor, and static environments.
Portals are also primarily for indoor environments, although they allow for some movement within sectors.

Octrees seem similar to BSP trees, but they look like they may work for outdoor areas.
The problem is, I haven't been able to find but a few brief mentions of them in various articles. So I don't know enough about them to decide if they could work, let alone implementing them in my engine.


So what would work then for an outdoor environment, with movable objects?

If you have any ideas or links please respond.
Thanks.

This topic is closed to new replies.

Advertisement