PDA

View Full Version : Terrain using geometry Clipmaps



valen16
11-28-2008, 09:03 AM
Hi, I am working on an implementation of Asirvatham's and Hoppe's geometry clipmap based terrain rendering.
I have set up the whole vertex buffers, frustum culling etc. working, but now I am stuck at the point where I'd like to generate the elevation clipmap. I want to use large heightmaps, but I really don't see an optimal technique to proceed. Shall I use GL_EXT_texture_array extension to create them or?
Anybody did this in OpenGL already? I would appreciate any code snippets or comments.
Thanks

Nicolai de Haan
11-29-2008, 02:43 AM
If you follow the paper you need to understand the clipmap texture technique. It's not well-explained (detailed) in their paper. Look at the original Clipmap paper by Tanner, et al.

I wrote a paper that might help you with a modern implementation of the clipmap. You can find it at http://www.gamedev.net/community/forums/topic.asp?topic_id=504549.

Brolingstanz
11-29-2008, 02:46 AM
You'll probably be going to disk to keep clipmap bellies full, that or resorting to some procedural techniques to fill in the gaps.