Part of the Khronos Group
OpenGL.org

The Industry's Foundation for High Performance Graphics

from games to virtual reality, mobile phones to supercomputers

Results 1 to 9 of 9

Thread: What are Octrees, bsps, etc. ?

  1. #1
    Junior Member Regular Contributor
    Join Date
    Jul 2000
    Location
    Canada
    Posts
    188

    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.
    Billy

  2. #2
    Junior Member Newbie
    Join Date
    Jan 2001
    Location
    bcn
    Posts
    17

    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,

  3. #3
    Junior Member Regular Contributor
    Join Date
    Jan 2001
    Location
    Israel
    Posts
    159

    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...

  4. #4
    Intern Contributor
    Join Date
    Jan 2001
    Location
    Toulouse
    Posts
    93

    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

  5. #5
    Junior Member Regular Contributor
    Join Date
    Jul 2000
    Location
    Canada
    Posts
    188

    Re: What are Octrees, bsps, etc. ?

    Thanks for all the helpful replies!
    Billy

  6. #6
    Senior Member OpenGL Pro
    Join Date
    May 2000
    Location
    Hannover, Germany
    Posts
    1,258

    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.
    - Michael Steinberg

  7. #7
    Senior Member OpenGL Pro
    Join Date
    Feb 2000
    Location
    France
    Posts
    1,118

    Re: What are Octrees, bsps, etc. ?

    Yep Michael, I think you are right: Doom was a 2D BSP...

    Regards.

    Eric

  8. #8
    Intern Contributor
    Join Date
    Jan 2001
    Location
    Toulouse
    Posts
    93

    Re: What are Octrees, bsps, etc. ?

    Oups !...Micheal, you are absolutely right, Doom was a 2D BSP...

    Sorry...

  9. #9
    Intern Contributor
    Join Date
    Jan 2001
    Location
    Toulouse
    Posts
    93

    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
  •