steve3d Posted March 4, 2011 Share Posted March 4, 2011 I have a terrain model generated from CAD software, when I try to create a height map from this model, the terrain.exe always give me a corrupt height map, How to use the terrain tool, and , are there any restrictions to the obj files? the strange thing is that when I run the terrain tool, it prompts with the correct dimension of terrain. terrain_x86.exe test.obj -o test.dds test.obj (1365.17x674.687 162) -> test.dds (2D:R16 1024x1024) the test obj file can be downloaded from https://www.sugarsync.com/pf/D901360_6430019_73566 Link to comment
frustum Posted March 4, 2011 Share Posted March 4, 2011 It was a bug in OBJ format perser. This is an updated terrain.ext tool. Moreover default image size is 1025 now. terrain.zip Link to comment
steve3d Posted March 4, 2011 Author Share Posted March 4, 2011 could you sent me the fixed source? Link to comment
frustum Posted March 4, 2011 Share Posted March 4, 2011 No problem. main.cpp main.diff.cpp Link to comment
steve3d Posted March 5, 2011 Author Share Posted March 5, 2011 thank you very much :) Link to comment
Recommended Posts