Hi,
I had modified the obj loader to generate per-vertex color data. The color value is based on the Z coord.
Because the terragen obj exporter don´t generate normals, i exported the terragen data into lwo files, then imported in blender and exported in obj. Blender not only generate normals, but also material files.
The results:
http://personales.ya.com/angon/screen.jpg
This is the jar with the classes: http://personales.ya.com/angon/terragenInXith.jar
Those are the files you need: http://personales.ya.com/angon/xith_pruebas/files/terreno3.obj (7MB), http://personales.ya.com/angon/xith_pruebas/files/terreno3.mtl
When generate terragen files, limit the height between 0 and 256.
Be careful with the size of the terrain or you have out of memory errors!!
I´m working with Xith3d for short time and my english is very poor, don’t kill me
…
thanks all

)