Using VBOs for drawing terrain with LOD (SOLVED)


I’m trying to implement LOD algorithm on terrain.
When camera moves around,different partition LOD changes,so I need to recalculate triangle vertices.How to use VBOs when data is needed to be updated?

My current logic says something like this:

1.Precalculate vertices,triangles for each terrain partition with its initial LOD,
2.Store into VBOs
When camera moves to different partition ,then do 1. and 2. only for partitions where the level of detail should be updated?
So that means to keep separate VBOs for each LOD partition?


P.S. Since I couldnt delete I’m editing: This is solved, found explanation in another forum