Hi there. I am having problems loading my .X terrain files from file. I call loader.LoadModel, and it returns nothing, and gives me no error.
So - this mesh originated from a black and white PNG heightmap, so I thought I’d give the GeoMipTerrain module a try. That one doesn’t work so well for me - it gives me a very low poly model that is incompatible with the multitexturing code I have set up, that comes in pure white.
Do you know how to get decent error messages out of the loader.LoadModel function, or apply a multitexturing to a terrain created in memory? Any assistance you can give me would be greatly appreciated.
The loader.loadModel function will return None if an error occurred. There should be some errors in the console.
About the GeoMipTerrain: you’ll need to tweak the settings to make it higher-poly. As to why your multitexturing code doesn’t work: I have no idea. You’d need to post some code then.
Sure, here’s the demo I was working on. It’s a modification of the Nature demo, without the grass, and I was trying to use a custom heightmap for the geomipterrain.
To see the original demo without grass, leave variable Old set to True. To see what I was starting on, set variable Old to False.