Wayback Machinekoobas.hobune.stream
May JUN Jul
Previous capture 12 Next capture
2021 2022 2023
1 capture
12 Jun 22 - 12 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 JulySellanes · Jan 26, 2018 at 09:13 PM · proceduralgeneratorlow polyskyisland

How to make a procedural low poly sky islands generator

Hello, for my game I want to do a procedural floating islands low poly generator I was looking for tutorials but everything I find is always for a terrain, with water or other things, so I was thinking that I could do a prefab of a terrain with the generator script (in Start () I create the generation), and I do that The prefab appears in different parts of the world. The problem is that I do not know how to make it appear at the beginning or as the player moves.

If you think the idea is good: Can you give me a tutorial or tell me how it would be done?

If you think the idea is wrong: Could you tell me some other idea?

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

Answer by Harinezumi · Jan 26, 2018 at 10:13 PM

Hello,
your approach is good, a "sky island" is not different than a piece of terrain floating in the "air".
I'm not sure what you mean by "make it appear at the beginning or as the player moves", but I'm guessing you mean frustum culling? If you elaborate on what this means I will help (editing this answer).
Either way, I wouldn't do it with prefabs, I would generate it procedurally. For procedural generation of terrain, this is an AMAZING tutorial: http://catlikecoding.com/unity/tutorials/noise-derivatives/

Comment
Add comment · Show 5 · 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 JulySellanes · Jan 27, 2018 at 03:56 PM 0
Share

Hi, what I want make is something like this alt text

With this of "make it appear at the beginning or as the player moves" I speak of something like $$anonymous$$inecraft, that when yougenerate a world, the player appears in a random biome, and when he go walking, it going generating new random terrain

And yes, thanks by the tutorials, but how can I implement it for generate sky islands? That is, it generate a little island (with trees or rocks) and later, it generate a big space (void) and then generate another island

download.jpg (8.9 kB)
avatar image Harinezumi JulySellanes · Jan 27, 2018 at 06:44 PM 0
Share

O$$anonymous$$, I see what you mean.
I would do it by generating a random starting position of the player, and then use the starting position as the seed for the random number generator for the islands. I would divide the game area into a grid, and whenever the player leaves a cell, I would generate the new islands for the grid that have not been in memory. As the player leaves behind cells I would destroy them (to free up memory). If the player returns the cell position as seed for the random generator would help regenerate the same islands (of course, things that the player changed need to be kept in memory in some way).
As for the islands to have trees and rocks and other objects, it would be part of the island generation process to add those items as well, using a list of possible items and a pseudo-random algorithm (an algorithm which uses random numbers, but generates the same thing if given the same seed).
(I did something similar a very long time ago, and it is quite possible).

avatar image JulySellanes Harinezumi · Jan 30, 2018 at 04:57 PM 0
Share

Thanks (sorry for not answering before), other things, I guess you do not know any tutorial to make a grid ...

Show more comments

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

79 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 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 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 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

how to generate custom procedural terrain ? 0 Answers

Terrain and procedural rivers 2 Answers

Dynamic Light on a Procedural Map problem! 1 Answer

Procedural terrain tiles 0 Answers

Radial Voronoi Noise for procedural island? 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