Mutable Terrain

Hey all,



I'm wondering how I would go about creating terrain that can be edited at runtime? I can pick and increase the height of a point but the changes arnt reflected visually…



Is there a function I can call to regenerate the triMesh for the TerrainBlock (all the build*** methods are private??), or am I up the proverbial creek forced to write my own terrain implementation?



Using JMonkey 2.0 r4389 on Gentoo.

Hmm more searching dug up TerrainBlock.updateFromHeightMap(), Although it looks to regenerate everything, perhaps I could just wrap it in a TerrainPage and try and minimize the damage…

lanmower had an approach detailed in these threadse:

http://www.jmonkeyengine.com/jmeforum/index.php?topic=9804.msg75704#msg75704

http://www.jmonkeyengine.com/jmeforum/index.php?topic=9880.0



I haven’t looked at it closely but it might help.