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 Jason B · Feb 26, 2011 at 03:28 AM · terrainmapheightgimp

Having some serious issues making height maps work.

I just sifted through a lot of questions so far about height maps, but nobody seems to be having the problem I'm having.

Whenever I import a height map, it outputs garbage. The terrain looks like thousands of high peaks and steep drops that are almost paper thin and run side to side like venetian blinds.

I'm exporting my raw image from Gimp; a 1025x1025 image in black and white. I've tried every combination of export options (rgb, rrrgggbbb, rgbx, etc.) but I don't know which is the "right" export options to use since Unity doesn't specify which exact raw formatting it requires (plus I've tried every combination of settings I can think of anyways, and it never works). I've also tried importing as Mac and PC maps, and am making sure to put in before import that the file is 1025x1025. The height map is set to be 1025x1025 in the terrain settings. I can't imagine what I'm missing, or why this is such a chore.

I really wish Unity would simply allow any grayscale image in any importable format to be used as a height map; most terrain utilities can do this. Alas, this is turning into a huge headache.

If someone can help me figure this out, I'll be very glad. Even greater if someone could go through the trouble to download Gimp, use it themselves to successfully make a height map, and explain to me the proper steps to not get completely messed up terrain (if it's indeed possible; maybe it's a problem with Gimp).

Comment
Add comment
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

1 Reply

· Add your reply
  • Sort: 
avatar image
2

Answer by Eric5h5 · Feb 26, 2011 at 03:55 AM

None of the rgb export options are correct, since only 16-bit grayscale RAW files are supported. Most formats don't use 16-bit grayscale without any gamma correction stuff, which is why it has to be RAW. 8-bit doesn't allow sufficient resolution, although you can use this to import other image formats in certain cases where resolution/quality doesn't matter much.

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

No one has followed this question yet.

Related Questions

Trying to tile terrain, encountering strange axis flipping 0 Answers

Formula for Terrain sampleHeight 0 Answers

Tree terrain splatmap? 0 Answers

How can i make terrains from 2d map images 0 Answers

Adding map through script 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