So can I store the heights data for example as an array?The cache is in the main memory. So, use regular way to cut proper rectangle from it and send to the texture.
You won't have enough memory to keep the cache in the graphics memory.
Ou yeah, I think I finally understand it It looks that as I moves along the height texture for example to the right I must add new heights data (resp. overwrite the old data) on the left border of the texture and as I move on I am simply adding data to the right side of previously added data(resp. overwrite the old data)... And when I reach the right border of the texture I automatically jump to the left border. Do I understand it correctly?Use toroidal update as described in all clipmaps papers.