Hi,
I'm working on a project with a tile-based landscape.
There are serval types of tiles: water tiles, grass tiles, wall tiles,... Each tile has its own class (TWaterTile, TGrassTiles,...) with a draw procedure. This procedure uses glNormal3fv, glVertex3fv,... to draw the tile.
I've a 3-dimensional array where all the tiles are stored in. I draw the visible tiles using frustum culling and an OcTree.
This works quite nice. Should I use glNormal3fv, glVertex3fv,... to do the drawings or should I better use other methods?
Previously I used vertex arrays but that's rather restricted.
|