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

Thread: Tile engines: how to figure out what tiles are visble

  1. #1
    Intern Newbie
    Join Date
    May 2001
    Location
    Austria
    Posts
    30

    Tile engines: how to figure out what tiles are visble

    Hello all,

    very short description:

    - iso-tile array(100x100)
    - loop through array and render textures according to the array-values. (very simple!)

    but i think in a broader perspective. an array with a size of 1000x1000 or larger.

    so here is my question:
    - how can i figure out what tiles are in my visible area to speed up rendering process.
    i have no idea. maybe i think too complicated.

    - if you have any suggestions or if there is some documentation available, please let me know.
    - does anyone know how to improve tile-engines? (data is not stored in arrays?)

    Thanks in advance,
    Christoph

  2. #2
    Advanced Member Frequent Contributor
    Join Date
    May 2000
    Location
    Oxford, England
    Posts
    547

    Re: Tile engines: how to figure out what tiles are visble

    Need to do create some planes to represent your view frustrum. all the tiles are then tested to see if thy fall within those planes. If it does draw them, if not dont.
    http://www.opengl.org/developers/faq...cal/viewcull.c

    handy FAQ comes to the rescue.....

Posting Permissions

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