vertex arrays again...

i’m tring to create some terrian engine… my terrain is built from small tiles, each contains 8x8 vertices. but not every vertex is drawn, if tile is too far, some are ignored to increase performace… simple, huh.

but now the crazy idea to store vertices in vertex array. to draw vertices glDrawElements could be great (because i could specify which to skip and so on). lists of incices will be almost same for each tile, only shifted up and down in array to point to different tiles of landscape.

and now the problem: isn’t there a faster way of seting origin for indices list as adding a constant to each index?