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 jaised · Jan 20, 2013 at 03:08 AM · terraingenerationheightmapmappinghexagon

3D Hex Terrain Generation with Height

I am wanting to make a terrain generator similar to the images below. I have tiles defined as Water, Grass, etc. I know that I would need a function for Perlin Noise to create the 'height map'. Use the height to determine the tile to use. However, I am not sure how to go about it. I want to link all the hex tiles and actually fluctuate height (like image 1).

If you have ever played Warhammer 40k (table top), I am wanting to create valleys and mountains where units can walk and provide cover. I know this will take some time and I have read a few other posts that sort of discuss this type of thing, but nothing encompassing. I know there is a Hex Generator plugin. I can't seem to view the forum thread for it (banned ip?). Can anyone elaborate on the plugin and know if it will do what I need it to? If not, how can I logically achieve this? Sorry terrain isn't my strong suit.

If anyone has any suggestions, hints, workflow, dos'-don'ts, etc. I appreciate it. Thanks for the time, community!

alt text

alt text

NOT like this. alt text

Comment
Add comment · Show 1
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 hellycopter1986 · Jun 27, 2013 at 04:01 PM 0
Share

I want to do the same thing of you and I've searched Asset Store, Forums, Web and many other sources but I really didn't find anything interesting to achieve such a result.

I$$anonymous$$HO we have to create a variety of different grids or we have to make a terrain pre-scan checking for every Y variable change but I am still far away from the result so... if anybody can help I will really appreciate it.

Thanks in advance to everybody that can help!

1 Reply

· Add your reply
  • Sort: 
avatar image
2

Answer by jaised · Jun 30, 2013 at 02:24 AM

This ended up being my solution to the problem. Can create a terrain mesh and use the plugin to create a X x Y hex grid and use the functionality to snap it to the mesh and use the editor to customize it. The tutorial are really great and seems to be fairly straight forward. Give it a shot: http://forum.unity3d.com/threads/138355-Tile-Based-Map-amp-Nav

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

11 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

Related Questions

How to generate a complete terrain via Script 0 Answers

How large can a terrain be that is generated with a heightmap? 1 Answer

Generated terrain heightmap is flipped from the alphamap. 1 Answer

Generating Heightmaps for a Spherical Terrain 2 Answers

Problem with heightmap and terrain height maxing out at 10000, proportions *Solved* 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