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 vipvex · Mar 27, 2012 at 11:05 AM · noisebasicsperlinunderstand

Basics of Perlin Noise?

I know you've heard this a million times before but I'm trying to make a minecraft style terrain. I would like my terrain to be randomly generated in all diretions. To do this i i found out that i must know how to use perlin noise. But the problem is that it seams that there are no official documintations of Perlin N. in unity refrences. I can't fined any tutorials or legit documintation on how to use it to generate a "cuby" terrain. I've been looking for some sort of tutorial or documintation(in Javascript) for the last 3 day's were it explains perlin noise step by step and in a straight forward manner. But i had no luck finding something that could help me understand. If any of you who might know how to use perlin code in JavaScript could you PLEASE EXPLAIN how to use it. If you could make a simple example of something that was made using perlin noise and explain step by step so that I could understand the basics of it would be great. [I'm familiar with JavaScript and know a lot but when someone writes something like: " sides = (Noise(x-1, y)+Noise(x+1, y)+Noise(x, y-1)+Noise(x, y+1))/ 8;" I get very confused and lost.)

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
1

Answer by Saitodepaula · Aug 10, 2012 at 05:30 PM

Hi, I'm trying to do something similar, but using planes. Take a look at my question (I've solved it myself). I think it is not difficult to apply it to different kinds of geometry, like cubes instead of planes.

If you don't understand what I've done there, ask and I can post more details.

You don't really need to know how Perlin noise function works, you only have to know that it will generate "random" values between 0 and 1 for any given point, but smoothed, so that every point in the terrain is "connected" to each other (actually random and connected are not the correct terms, but are a good way to start thinking about Perlin noise). Once you understand this, you can use the Perlin function in the Unity Procedural Examples I've used too.

If you really want to understand every detail of Perlin function, start here and here.

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

4 People are following this question.

avatar image avatar image avatar image avatar image

Related Questions

Multiple Cars not working 1 Answer

Perlin noise tutorials ? 2 Answers

where can i find tutorials 1 Answer

I made a better shader how do i fix[add _Shadow Strength]help???>Sorry that im asking for to much 1 Answer

Optimize perlin code 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