Hey,
I'm trying to fix the old Terrain Importer plugin. To do this I had to introduce the new kind of heightfield in use by L3DT. However I'm stuck on something. The old author seems to have used his own calculation on height instead of starting from the real meter height as it is represented in the file. Now this new heightfield format is less forgiving due to the use of a compression algorithm in it , I can't use the same calculation the old author used.
However what I can do is convert the value from the old heightfield to the real meter height representation. For the same pixel in the same heightfield one in format HFF and the other in the new format HFZ, the result is 79,188999192 meters. Now I have to find a magic formula to scale it down to NWN2 standards. To get one meter representation by what measure should I have to divide the real life meters ?
Has anyone got any idea about this. The old author also used a min height and max height. Maybe I can work with those values but I'm not exactly sure how relevant they still are in this new calculation method.





Retour en haut







