- Home /
Imported heightmap makes terrain very spiky and incredibly tall.
So I've downloaded an image and converted it to a heightmap in gimp (downloaded a plugin that allowed you to export to RAW), however I end up with terrain that looks like this:
Here's a picture of my heightmap setup:
What am I doing wrong?
Answer by Grieve_physics · Dec 29, 2013 at 04:06 AM
When I work with raw heightmap files, it has lots of sharp peaks. I use them as a base, then smooth and tweak once imported. A picture of the heightmap you used may be useful as well.
Maybe the resolution of your heightmap raw file may cause this. (i.e. 556w x 372h then you are taking it to a 512x512.)
EDIT Unable to Add new posts.
No issue with the base PNG File. I was able to export as a RAW file, and import into Unity as seen below.
Issues could be with your plugin, the image not being set to greyscale. Lost detailed solution due to restrictions, can't be bothered retyping, let me know if you get stuck again otherwise mark as correct.
Here is the heightmap that I used: http://meta.filesmelt.com/downloader.php?file=$$anonymous$$appy32.png
I sized it down to 512x512
Hey, this is pretty late- but thank you! I found a different plugin, and it worked like a charm.
Hi there, which plugin do you use to export RAW from GI$$anonymous$$P. I'd like to do the same.
Answer by bobbiokafor · Oct 06, 2016 at 10:49 PM
THIS WILL GET RID OF THOSE TALL JAGGED SPIKES!!!
When importing the raw file, switch whatever byte order it selects as default.
Switch your byte order from Windows to Mac.
THAN$$anonymous$$ YOU! been looking everywhere and this fixed my problem
I have the same problem. I am using windows but the raw file was created by some one else (i think) on $$anonymous$$ac. Now this advice solved my problem. Thanks.
Answer by Linus · Oct 02, 2019 at 05:37 PM
For Unity 2019.3 beta 4 (Terrain Toolkit package), there is no import setting for .raw But for me it helped opening the file in ImageJ, go Edit>Options>Input/Output and tick Save TIFF and RAW in Intel byteorder
Your answer
Follow this Question
Related Questions
How can i fix this wierd bug? 0 Answers
Terrain can not be painted 4 Answers
Terrainmap is lined 1 Answer
Grass issue on Massive Terrains 0 Answers
Generate 16bit terrain map from real world elevation data 3 Answers