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 JiffyJuff · Jul 04, 2013 at 09:29 AM · terrainvoxelminecraftdivide

Minecraft Biomes: How to Make?

I've been making a minecraft-like game, but based on surface exploration, not mining. So no breaking blocks.

I have a 50x50 grid of cubes snapping to the player's position, and they are updated every frame to a height corresponding to their position using perlin noise.

My question is, how do I divide the land into "patches" or biomes based on their position? I just need a simple algorithm.

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 Cherno · Sep 19, 2015 at 09:12 PM 0
Share

For a ton of information about all things $$anonymous$$inecraft in Unity, check out this thread:

After playing $$anonymous$$ecraft...

2 Replies

· Add your reply
  • Sort: 
avatar image
0

Answer by MorphingDragon · Jul 04, 2013 at 10:40 AM

I assume you just want to divide land into regions and not a lot else?

You could generate a random Voroni Diagram and use its resulting cells to classify blocks. http://en.wikipedia.org/wiki/Voronoi_diagrams

You could make the classification as part of the generation system and use a 3D Langdon's ant. http://en.wikipedia.org/wiki/Langton%27s_ant

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 JiffyJuff · Jul 04, 2013 at 11:20 AM 0
Share

I guess I should have made this clearer. I have an infinite world, and I don't want to generate the sections randomly. I need it to be the same EVERY TI$$anonymous$$E I generate it, the same way that unity's PerlinNoise function generates the same thing with the same coordinates. I want a quick and efficient way to group regions, and the only constant variable when the land is regenerated is the land's position. So I have to use positions to achieve this.

avatar image Jamora · Jul 04, 2013 at 06:43 PM 0
Share

I dunno if you can use the Random class in generating your stuff, but you can manually specify your seed. It'll then spit out the same values every time that seed is used.

avatar image
0

Answer by Negagames · Aug 18, 2013 at 05:10 PM

By "patches" or biomes I assume you mean something like this: http://puu.sh/44OWx.jpg

In which case you need to create a minimum of 3 perlin functions to determine a biome. You can call them what you want but most people refer to Ground Height, Rainfall, and Temprature to determine the outcome for a biome. That's what I used in this example. I hope that help clarify this a little.

Comment
Add comment · Show 1 · 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 Genei_180 · Sep 19, 2015 at 03:51 PM 0
Share

Your idea sound's very interesting but is there not a large ammount of "empty" or default space in between?

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

Distribute terrain in zones 3 Answers

Cube style terrain 1 Answer

World Seed 2 Answers

How can I smoothen my cubic mesh using marching cubes? 0 Answers

Texture mapping procedural mesh with texture atlas? (Minecraft style terrain gen) 1 Answer


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