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 viciousesque · Feb 04, 2015 at 09:47 AM · terrainheightmap

Height map resolution clarification

I'm trying to create a height map using the Mac app Acorn, exporting as .bmp file format, opening that in an image conversion app called, XnViewMP, then saving-as RAW. Throughout these steps I'm making sure the bit-depth is 8-bit, however when I open the resultant .raw file in Unity, the import dialog window seems to think it's 16-bit image, and whether I change that to 8-bit or leave at 16-bit, the import fails to produce any height map effect on the terrain. Additionally, when Unity imports the .raw my heightmap setting in my Terrain Settings window changes from a value of 513 to a value of 33.

I have actually been able to successfully create a hieghtmap via this process twice, but the majority of my attempts are failing as described.

Has anyone seen anything like this before? The Terrain Settings flipping heightmap value from 513 to 33 seems like a big clue, but I'm too inexperienced with this process to understand what it means.

Thanks!

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
1
Best Answer

Answer by SnStarr · Feb 04, 2015 at 12:16 PM

When saving as bmp try converting the image to grayscale first..That will flatten out the tones so the image wont save any interleaving options. That's all I can think of that you didn't mention. Grayscale mode helps a lot in creating heightmaps.

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 viciousesque · Feb 04, 2015 at 04:42 PM 1
Share

Thanks SnStarr! After six hours of messing around yesterday, I finally figured out that the "greyscale" Acorn (and I would assume most non-Photoshop apps) produces is an RGB greyscale, even though it has a color index of 255.

For me the solution was in in XnView$$anonymous$$P, which allowed me to convert the RGB "greyscale" to a true greyscale color matrix.

So, for anyone co$$anonymous$$g across this post trying to solve a similar problem, that's the big gotcha'-- even if appears to be greyscale, and even if it has an index of 255 colors, $$anonymous$$A$$anonymous$$E SURE I'TS REALLY GREYSCALE, AND NOT RGB GREYSCAL$$anonymous$$

Thanks again SnStarr!

avatar image SnStarr · Feb 04, 2015 at 06:10 PM 0
Share

You're welcome bud. Cheers.

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

3 People are following this question.

avatar image avatar image avatar image

Related Questions

Unity splitting up terrains into equal heightmap resolution ones. 0 Answers

Issue with importing raw heightmaps (made in photoshop) 5 Answers

Terrain Heightmap Can't Attach 1 Answer

Applying a Large Texture Map to a Terrain 1 Answer

Terrain Detail Glitch - World Machine Import 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