PDA

View Full Version : Translate mutliple points without load them all



j_sb22
09-27-2015, 04:56 PM
Hello,

I'm on my last year of Master's degree and I'm working on a study project. I must make a forest simulation. With weather, forest fire, species cohabitation, reproduction etc...

I'm loading trees in vectors from .obj files. xFrogs trees if you want to know.

These files are quite heavy and i don't copy the vector each time i want a new tree. I thought about translation instead.

Do you have any ideas how can i transale an entire vbo ?

I have one VAO containing couple of vbos representing trees.

One more thing, how can I avoid re render trees already rendered previous frames ?

Thank you