Hi
Well I'm still learning all this stuff, and still trying to understand normals/normal maps so please forgive this newbie question.
A bit of background: I'm writing a game using Microsoft XNA Game Studio. I'm using L3DT to build the terrain. I generate a HeightMap, WaterMap, NormalMap and TextureMap. I export these maps using HFF, WMF, PNG and JPG formats respectively. I've written custom XNA pipeline importers / processors so that I can convert these exported files to the XNA xnb content file format so that I can load the content using the XNA ContentManager.
All is working well, except.. normals.
I am assuming the NormalMap is only useful for rendering the TextureMap because if I try to use it for HeightMap vertex normals it looks horrible.
I tried to precalculate the vertex normals in the XNA Pipeline importer, but it's difficult because I save the maps as a mosaic (they are big maps), and inside the Pipeline importers, you only have access to the current import file, so there is no way for me to build the edge normals because I can't load the faces of the neighbouring tiles.
I can calculate the vertex normals at runtime when I instantiate the height map, but it is very slow, so I really need to have them precalculated.
So my question is: Is there a way to export vertex normals from L3DT... or is there another way for me to handle this?
Thanks
Craig