Disabling the "smoothness" of randomly generated triangle meshes


I’m using the Diamond-Square algorithm with an ImageBasedHeightMap (seems odd, yes, but long story) to generate random terrain. However, I notice that jMonkey automatically merges the individual triangles to make the terrain seem smooth. While this is usually a good thing, I want to disable this and want jMonkey to show the individual triangles. How can this be done?

There is nothing built in to disable the normal vector smoothing. You will have to subclass TerrainQuad, TerrainPatch to get at LodGeomap where the normal calculation is averaged in the writeNormalArray() method.