This program is more or less working fine. As it is now, it reads an input RAW and, through some simple calcs, it gives another RAW as output. In the output RAW you can see a simplified version of the heightmap, made of points in 6 shades from black to white, that visually reports the key points for a possible 3D mesh depending on the type of terrain feature they represent.
What I lack now is the knowleged needed to convert these vertices in 3D meshes, more exactly in .nif files.
So my question is: is there any place where I could get a tutorial on how to build .nif files through C code?
Or does anybody know how to do that?
I've tried reading Ethatron's Oscape source code, but there are very few references and explanations, which makes the whole thing pretty complicated. Just locating the portion of code where he calcs vertices has been tricky, and it's not said that's the whole thing.
He's also published different versions of the same program without too much of a description or explanation of the required files.
Actually, if anybody's already read the whole thing and knows what file contains the .nif references.....it would help a lot.
Thank you. =|