• Create Account

### #ActualCaburé

Posted 28 October 2012 - 05:35 PM

TOPIC IMPLICITLY CLOSED WHILE I STUDY TRANSFORMATION MATRICES - THANKS

--------------

Ok, short:

I would like to render trees. Fast. Using geometry + textures.

How to do that without making a single model in VBO or other list and trying to reuse that over a heightmap?

First question: I don't know how (and I have already searched) to take a fixed geometry stored in fast memory and repaint that in another place for reuse. I mean: take a tree and draw it at x,y,z and at x+5, y+2, z+1 since the global position of the vertexes are already set IN THE MEMORY of the VBO.

If I can do the above, the problem could be easily resolved by breaking down the possible variations of trunks, leaves and geometry of the trees and reusing those and those textures everytime, saving a whole world of memory.

How can I do that, may someone help me?

If you want to answer just one question:
Can I redraw a VBO at a relative position?

Thank you very much.

### #1carloscruz

Posted 28 October 2012 - 05:10 PM

Ok, short:

I would like to render trees. Fast. Using geometry + textures.

How to do that without making a single model in VBO or other list and trying to reuse that over a heightmap?

First question: I don't know how (and I have already searched) to take a fixed geometry stored in fast memory and repaint that in another place for reuse. I mean: take a tree and draw it at x,y,z and at x+5, y+2, z+1 since the global position of the vertexes are already set IN THE MEMORY of the VBO.

If I can do the above, the problem could be easily resolved by breaking down the possible variations of trunks, leaves and geometry of the trees and reusing those and those textures everytime, saving a whole world of memory.

How can I do that, may someone help me?

If you want to answer just one question:
Can I redraw a VBO at a relative position?

Thank you very much.

PARTNERS