GeoMipTerrain: Making update_block publicly accessible

Hello.

I’m currently using GeoMipTerrain to render a terrain that I would like to deform over time. It is a fairly large terrain (512x512) and I am only planning on deforming small portions at a time. To date, I’ve only been able to update the terrain by calling ‘generate’ after I have made a change to the heightfield. This regenerates the entire mesh and takes 5-6 seconds to do so.

Is it a bad idea for me to expose update_block so that I can tell GeoMipTerrain to only modify specific regions of the mesh?

Thanks
Colin

It’s not as simple as that, because if the level is changed on a chunk, not only than chunk needs to be regenerated but also the chunks around it. You could expose it, but only if you know what you’re doing.