Hi,
I need to import a heightmap in unity rapresenting a specific terrain of a city.
I did a dem in arcgis, exported in Global Mapper and re-exported as a .raw file.
How can I do now to recreate THAT terrain in Unity? Do I have to create a terrain first and then load the heightmap? and if it so, what should be the settings for resolution? (width, lenght, heightmap). And again do these settings change my terrain (I need THAT specific terrain and not a generic one)?
Thanks,
Marco
Hi Marco.79,
I experimented with this last December. I got started from the information at the very bottom of this Unity Ref Manual page: http://unity3d.com/support/documentation/Components/terrain-Height.html The information starts, " If you like, you can import a greyscale Heightmap created in Photoshop or from real-world geography data and apply to your Terrain."
I also found a series of video tutorials with a lot of good information on making a terrain usinghttp://marvelopermedia.com/unity-3d-terrain-start-to-finish/ a RAW file. The video doesn’t make an exact geographical replica of the real terrain, but it has a lot of good information it you may be able to apply to making a real replica of your specific terrain.
Also, here is a link to the test files I used when I was experimenting with this. http://bitsong.com/forPosting/Unity/terrain_test.html
I’m sorry, I can’t remember exact settings since I did this several months ago except I think there was something about the resolution of the RAW file having to be the same as the heightmap resolution (513 in this case). Good luck with your project.
Zaffer