Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 13 Next capture
2021 2022 2023
1 capture
13 Jun 22 - 13 Jun 22
sparklines
Close Help
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
  • Asset Store
  • Get Unity

UNITY ACCOUNT

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account
  • Blog
  • Forums
  • Answers
  • Evangelists
  • User Groups
  • Beta Program
  • Advisory Panel

Navigation

  • Home
  • Products
  • Solutions
  • Made with Unity
  • Learning
  • Support & Services
  • Community
    • Blog
    • Forums
    • Answers
    • Evangelists
    • User Groups
    • Beta Program
    • Advisory Panel

Unity account

You need a Unity Account to shop in the Online and Asset Stores, participate in the Unity Community and manage your license portfolio. Login Create account

Language

  • Chinese
  • Spanish
  • Japanese
  • Korean
  • Portuguese
  • Ask a question
  • Spaces
    • Default
    • Help Room
    • META
    • Moderators
    • Topics
    • Questions
    • Users
    • Badges
  • Home /
avatar image
0
Question by Gijs Groenewoud · Jul 05, 2013 at 05:17 PM · heightmapheightmaps

Heightmap is spiky, unsolvable for me

Hello everyone I was trying to make a new map to create some cool stuff in. But when I download a heightmap from the internet everything is okay. But when I try to import my heightmap to unity I notice it's very spiky and doesn't even look close to the heightmap I downloaded from the internet.

alt text

I blurred the map a bit to reduce the effect but that also didn't worked for me.

alt text

This is result of adding it to the terrain. I don't see any similarity between the two. How can I solve this problem?

heightmap.png (56.6 kB)
unityfailfile.png (361.0 kB)
Comment
Add comment · Show 3
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image Mad Grendel · Jun 28, 2014 at 05:47 AM 0
Share

I have the same exact problem and nobody seems to have the answer. I followed every tutorial I can find and when I import a heightmap it looks exactly like this. I did use an image heightmap I found on the internet because I want to use a real location. But the image is 1024x1024... everything saves to raw format just like every tutorial shows to do. but I import it in and it's in these tall spikey layers like this. If I look at it from above it looks fine 2 dimensionaly, if that makes any sense like from a top orthographic view.

avatar image AlucardJay · Jun 28, 2014 at 06:39 AM 0
Share

Did you set the Byte Order to the correct type for your platform?

avatar image Eric5h5 · Jun 28, 2014 at 07:46 AM 0
Share

It should be 1025x1025, and it should be imported with the correct number of bits (8 or 16).

3 Replies

· Add your reply
  • Sort: 
avatar image
2

Answer by bobbiokafor · Oct 06, 2016 at 10:49 PM

Guess its my time to shine... When importing the raw file, switch whatever byte order it selects as default.

Switch your byte order from Windows to Mac.

Comment
Add comment · Show 2 · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image tanoshimi · Oct 07, 2016 at 06:25 AM 0
Share

Like @alucardj suggested above 2 1/2 years ago? :)

avatar image digimbyte · Aug 14, 2019 at 11:48 PM 0
Share

make sure you use the correct bit depth, 8 vs 16 as well

avatar image
0

Answer by amphoterik · Jul 05, 2013 at 05:19 PM

You need to change the height property of your terrain. Right now it is very tall and that causes spikey terrain.

More info: http://docs.unity3d.com/Documentation/Components/terrain-UsingTerrains.html

Also, ensure that you are using a raw file type with the correct resolution.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users
avatar image
0

Answer by warthos3399 · Aug 15, 2019 at 02:38 AM

Height property and resolution (during import) makes a huge difference, meaning, the "size" of the terrain map and its height needs to be adjusted. Also make sure to check if its 8 bit or 16 bit grey scale. Your import settings for .raw file are wrong.

Comment
Add comment · Share
10 |3000 characters needed characters left characters exceeded
▼
  • Viewable by all users
  • Viewable by moderators
  • Viewable by moderators and the original poster
  • Advanced visibility
Viewable by all users

Your answer

Hint: You can notify a user about this post by typing @username

Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.

Follow this Question

Answers Answers and Comments

22 People are following this question.

avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image avatar image

Related Questions

What makes up the binary data of a 16-bit heightmap? 0 Answers

Why is my terrain so bumpy when I use heightmaps? 1 Answer

Is it possible to use an 8k .raw map in a terrain? through unconventional methods? 1 Answer

Need some help, I need to know more about the greys working in a heightmap, Help? 1 Answer

Heightmap on a Quad (or other primitive) 0 Answers


Enterprise
Social Q&A

Social
Subscribe on YouTube social-youtube Follow on LinkedIn social-linkedin Follow on Twitter social-twitter Follow on Facebook social-facebook Follow on Instagram social-instagram

Footer

  • Purchase
    • Products
    • Subscription
    • Asset Store
    • Unity Gear
    • Resellers
  • Education
    • Students
    • Educators
    • Certification
    • Learn
    • Center of Excellence
  • Download
    • Unity
    • Beta Program
  • Unity Labs
    • Labs
    • Publications
  • Resources
    • Learn platform
    • Community
    • Documentation
    • Unity QA
    • FAQ
    • Services Status
    • Connect
  • About Unity
    • About Us
    • Blog
    • Events
    • Careers
    • Contact
    • Press
    • Partners
    • Affiliates
    • Security
Copyright © 2020 Unity Technologies
  • Legal
  • Privacy Policy
  • Cookies
  • Do Not Sell My Personal Information
  • Cookies Settings
"Unity", Unity logos, and other Unity trademarks are trademarks or registered trademarks of Unity Technologies or its affiliates in the U.S. and elsewhere (more info here). Other names or brands are trademarks of their respective owners.
  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges