• 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 ezerai · Nov 27, 2016 at 08:25 AM · terrainresolutionheightmapresolution settingsheightmaps

Set Hightmap resolution while importing custom heightmap texture?

Is it possible to somehow set Heightmap resolution in heightmap importer. For Example I made 129x129 terrain Heightmap in Blender, I want it's height x lenght to be 1km x 1km and have a resolution of 513, so that each pixel in my Heightmap texture would be equivalent to 10 meters and would be made of 4x4 quads...

Some of my math here might not be correct, but I'm able to get this by messing with terrain settings, but havn't figured out how to make this work With IMPORTING HEIGHTMAPS, because if I try to change the resolution after importing, it just resets the terrain to flat plane.

I know that I could use higher resolution texture to get a desired result, but is there a way to make importer sweat and do some calculations like it is supposed to?

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
0

Answer by Eric5h5 · Nov 27, 2016 at 11:48 AM

The importer doesn't have any ability to resize terrain heightmaps. Scaling 129x129 to 513x513 would look bad anyway; simple scaling can't create more detail from nothing. You can write a script to do the scaling if you really want to though.

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.

Welcome to Unity Answers

The best place to ask and answer questions about development with Unity.

To help users navigate the site we have posted a site navigation guide.

If you are a new user to Unity Answers, check out our FAQ for more information.

Make sure to check out our Knowledge Base for commonly asked Unity questions.

If you are a moderator, see our Moderator Guidelines page.

We are making improvements to UA, see the list of changes.



Follow this Question

Answers Answers and Comments

5 People are following this question.

avatar image avatar image avatar image avatar image avatar image

Related Questions

Terrains are not as seamless as their heightmaps. 0 Answers

Should Heightmap Resolution be one greater than Detail Resolution? 1 Answer

Terrainmap is lined 1 Answer

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

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

  • Anonymous
  • Sign in
  • Create
  • Ask a question
  • Spaces
  • Default
  • Help Room
  • META
  • Moderators
  • Explore
  • Topics
  • Questions
  • Users
  • Badges