-
Junior Member
Regular Contributor
What are Octrees, bsps, etc. ?
Hello,
I don't know what octree, bsp. I have the impression it is some way to organize geometrical data.
Can someone explain this to me or indicate some useful books or links?
Thanks.
-
Re: What are Octrees, bsps, etc. ?
Hi,
Octrees and BSPs are used in game engines for gaining performance. Both systems are based in "divide and conquer" and are designed for different engines. They divide all your geometry info in a few smaller structures. Depending of where you are in the world, you only process small data structures pointing your geometry info instead of processing all geometry info (the most part is unused in big worlds because you are far, etc).
Try to search in the net (you'll be able to find a lot of information, it's plenty).
See you,
-
Junior Member
Regular Contributor
Re: What are Octrees, bsps, etc. ?
www.gamedev.net www.flipcode.com
check them out. I think you will find somthing there...
and if you want a good book so "Real-Time Rendering" may be your answer...
-
Re: What are Octrees, bsps, etc. ?
BSPs (based on nodes or on leaves), Portals and so on, are preprocessed space partitioning algorithm.
"BSP" aims at building a binary tree by subdivising the space by planes liying on polygons. So, you can easily get polygons sorted (thus, no problem of transparent polygon) with specific graph traversal. But the performance strictly depends on the database complexity.
"Portal" divides the space in rooms and portals (used for indoor databases like doom...), so there will have no overdraw (only visible rooms will be rendered) .
Here you can found some links: http://reality.sgi.com/bspfaq/index.shtml http://www.exaflop.org/site/frames.c...x/naifbsp.html http://www.cs.virginia.edu/~luebke/p...s/portals.html http://www.rz.tu-ilmenau.de/~juhu/Pa...WK/node26.html http://www.flipcode.com/harmless/issue02.htm
http://crystal.linuxgames.com/docs/portal.html http://graphics.lcs.mit.edu/~seth/ http://www.cise.ufl.edu/~areddish/cap6836/
http://www.geocities.com/SiliconVall...t.html#culling http://www.geocities.com/SiliconVall.../BSPpaper.html http://www.netmagic.net/~achalfin/Graphics/portal.htm http://members.home.com/droyer/tutorials/Engine05.html
If you want more links, write to me
-
Junior Member
Regular Contributor
Re: What are Octrees, bsps, etc. ?
Thanks for all the helpful replies!
-
Re: What are Octrees, bsps, etc. ?
Was doom really a portal engine? I'm sure duke was it, but doom was a 2d bsp I think.
-
Re: What are Octrees, bsps, etc. ?
Yep Michael, I think you are right: Doom was a 2D BSP...
Regards.
Eric
-
Re: What are Octrees, bsps, etc. ?
Oups !...Micheal, you are absolutely right, Doom was a 2D BSP...
Sorry...
-
Re: What are Octrees, bsps, etc. ?
I would like to say Michael and not Micheal ...
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules