from EarthSculptor to Panda

Uhm, I guess I could, but it would take some time. The stuff is scattered all over my game classes and uses a lot of my custom classes, so I’d need to rewrite a lot.
Whenever I find time, I may give it a try. I can help you with things, though.
The .map file is human-readable. It’s quite easy to parse it. I can provide you with the function I use to parse it, if you want.
It contains a variable which represents the terrain height – use this for setSz. For the texture scales, there’s a variable detailScales in the .map file with the four values.
To get the right texture scale, I think I had to divide the texture size by ES’ value. 256 / 27.365 is indeed 9.

For the water, here is the shader:
earthsculptor.com/forum/viewtopic.php?t=128
You’d need to translate it to Cg though. And I’m also not sure about copyrights.

Also note that this:

self.terrain.setFactor(400)

Such a large factor for a small terrain is almost the same as this:

self.terrain.setBruteforce(True)

The latter is faster. :slight_smile:

If there’s anything more I can help you with, I’d be happy to.