Advice on data storage


I have combined heightmapping and octrees to do terrain. However I am unhappy with the way I am storing the vertices for each leaf, currently just storing each triangle seperately. This is redundant and not as memory efficient as I would like. How have others tackled this problem? Perhaps just store an index array in each leaf? Compile the data in each leaf into a display list? Just need some sound advice.

Old GLman

No one has an ideas on this? Surprising, someone must have faced this problem before.