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 6 of 6

Thread: Info about Quad trees.

  1. #1
    Junior Member Regular Contributor
    Join Date
    Aug 2000
    Posts
    106

    Info about Quad trees.

    I want to make an engine using 'quad trees', but I have never read about them from a 'good' source. Do you know where can I get some info?

    Games like Ground Control, Evolva, NBA2000 dont use BSPs or Octrees, do they use quad trees?

  2. #2
    Member Regular Contributor
    Join Date
    Jun 2000
    Location
    Cambridge, England
    Posts
    270

    Re: Info about Quad trees.

    I have only a simple knowledge of quad-tree based terrains, but I believe that you will get better results with ROAM .

  3. #3
    Junior Member Newbie
    Join Date
    Sep 2000
    Posts
    16

    Re: Info about Quad trees.

    Quad trees are best suited for collision detection and so, the ROAM algorithm is for landscape rendering (i've never tryied it). You have to know what you want your engine to do, because there's no QuadTree Engine, it's just a technique for poly sorting. If you want some info about it, i think there's some info in flipcode (www.flipcode.com). Making a quadtree engine is rather easy, just recursively subdivide your space into cells until you get some desired minimum number of polys for each cell. A little search on the net could give you some info about quadtrees.

  4. #4
    Senior Member OpenGL Guru zed's Avatar
    Join Date
    Jul 2000
    Location
    S41.16.25 E173.16.21
    Posts
    2,609

    Re: Info about Quad trees.

    well i render my landscape the same way as Chiguire (pity i cant see the previous posts when im replying) said but only i subdeivvide my tree down to a minimum size (a leaf) not a minimum number of polygons. which one is the more usual method? inside a leaf i store the pointers to all the static objects that are fully/partly inside

    [This message has been edited by zed (edited 09-12-2000).]

  5. #5
    Junior Member Newbie
    Join Date
    Sep 2000
    Posts
    16

    Re: Info about Quad trees.

    The optimum way to subdivide a leaf is to count the number of polygons and match it with a minimum number of polygons, because, when you use a quadtree to do collision tests, you know that you can process some number of polygons quite fast, that's the reason why you should use number of polygons instead of size. Rare, I can see the other posts by just pressing back!! , however, you can open the reply form in another window

  6. #6
    Junior Member Newbie
    Join Date
    Sep 2000
    Posts
    16

    Re: Info about Quad trees.

    Oops!! in case anyone hasn't noticed it yet, in this whole conversation i've misinterpreted QuadTrees with Octrees, hehe, i think (by the little information i've got from the web) that quadtrees are the way to go for landscape rendering, and ROAM is just an advanced technique of quadtrees (blame me if i'm not right), i think that recently there's been so much hype around the *Tree techniques, that it would be a lot better if we (the programmers) stop calling techniques *Trees

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •