I have a number of tree models cribbed from Sketchup8's model repository and have converted them through a Collada pre-processor. The tree models themselves are reasonably small and make extensive use of a simple set of foliage quads transformed using a local matrix to be placed all around the tree.
I realise that the total number of triangles to be drawn is the same in either case, but for performance, which would be the best approach to rendering my mesh ?
- Render each foliage quad using the model transform matrix for that "leaf", giving a large number of calls but a small vertex buffer.
- Pre-calculate the model position of each "leaf" using the model transform, and put the baked in vertex positions into a vertex buffer, and accept a small number of calls but a large vertex buffer.
Since the accepted wisdom is to batch; I would have though option 2 would be the best performance, but want to know if I'm missing a technique here.
Edited by PhillipHamlyn, 05 April 2013 - 04:36 AM.