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 Major · Oct 04, 2013 at 02:39 AM · textureterrainplanetperlin noiseprocedural-generation

Procedual Terrain

I know that I am going to get hate for this post ("oh why didn't you search google?") well don't ask that question because I already have. I've been out of coding unity javascript for several months so please don't hate me if I am a little slow.

Now that that is out of the way: I would like to create a procedurally generated planet. And I want to do it from scratch. I know that I should use the new perlin function in unity, but I don't know how. The end goal hopefully being something with a base ocean level, hills mountains and such. Any kind of help would be appreciated if you can offer it. Remember that I am a javascript programmer, so any resources that you find/provide (if you fell necessary) will be best in javascript. Thanks in advance!

Comment
Add comment · Show 3
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 Major · Oct 04, 2013 at 10:50 PM 0
Share

First off: a big sphere with features like mountains and water generally is a planet the main goal being to randomly generate these features Secondly: I know that there is a terrain tool but it does not work for this idea.

avatar image Fattie · Oct 05, 2013 at 08:12 AM 0
Share

it's almost impossible to help you unless you LOST AN I$$anonymous$$AGE of, very generally, what sort of game you are trying to make.

avatar image Hyperion · Oct 05, 2013 at 04:00 PM 0
Share

Please refer to the video I linked in my answer. Because $$anonymous$$ajor said 'Perlin-Noise', the video should be somewhat accurate in its representation of his goal. It would be very helpful if you would tell $$anonymous$$ajor how to generate Perlin-Noise inside Unity and apply it to an object.

1 Reply

· Add your reply
  • Sort: 
avatar image
0

Answer by Hyperion · Oct 05, 2013 at 12:15 AM

(Sorry, I don't know how to use perlin, but:) I would suggest storing many objects inside an array and at game start create a planet through script. That is the 'base ocean' would be the sphere, then you could have mountain objects and so on. It's not a convenient way of generating a planet, but it's the only way I could think of.

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 Hyperion · Oct 05, 2013 at 12:23 AM 0
Share

OOOOHHHHHH! I just saw a planet made of perlin noise and now I understand the concept. Create a basic sphere and give it a texture of perlin noise. Perlin noise cannot generate a planet on it's own. Then you can create a displacement map based on that noise and in short, you have yourself a basic planet. I saw this video:

http://www.youtube.com/watch?v=1RqzuhWPwe8

I'm sure you already saw this, but on the top left corner.... There are multiple applications, not just for a planet.

avatar image Major · Oct 05, 2013 at 04:06 AM 0
Share

I'll give it a try tomorrow. I'll post an update down here then. :)

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

16 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

Related Questions

Creating random planet textures 3 Answers

How to create a terrain in a sphere with Perlin Noise 0 Answers

Procedural Island Terrain Generation 2 Answers

Attempting terrain generation 1 Answer

Changing terrain texture at runtime 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