- Home /
How can I import terrain from DXF?
I'm looking for a way to import heightmap from a DXF or a way to export RAW terrain file from DXF file in order to use it in Unity and edit/manipulate it using Unity Terrain Editor.
Thanks in advance!
Comment
Answer by Paulius-Liekis · Sep 06, 2010 at 10:17 AM
I don't know if there is any better approach, but I would do something like this: 1) Import dxf as a mesh 2) Create terrain from script 3) "Sample" dxf mesh by using raycast to find out heights and set them on your terrain
You should be able to do this in import time. After that you can modify your terrain in Unity Terrain Editor.