Популярное

Музыка Кино и Анимация Автомобили Животные Спорт Путешествия Игры Юмор

Интересные видео

2025 Сериалы Трейлеры Новости Как сделать Видеоуроки Diy своими руками

Топ запросов

смотреть а4 schoolboy runaway турецкий сериал смотреть мультфильмы эдисон
dTub
Скачать

Coding Challenge 11: 3D Terrain Generation with Perlin Noise in Processing

Автор: The Coding Train

Загружено: 2016-05-04

Просмотров: 1083848

Описание:

In this coding challenge, I create a 3D procedural terrain using Perlin Noise and the beginShape() function in Processing. Code: https://thecodingtrain.com/challenges...

🕹️ p5.js Web Editor Sketch: https://editor.p5js.org/codingtrain/s...

🎥 Previous video:    • Coding Challenge 10: Maze Generator  
🎥 Next video:    • Coding Challenge 12: Lorenz Attractor  
🎥 All videos:    • Coding Challenges  

References:
💾 beginShape() reference: https://processing.org/reference/begi...
💾 noise() reference: https://processing.org/reference/nois...

Videos:
🚂 What is Perlin Noise?: https://thecodingtrain.com/tracks/the...
🔴 Coding Train Live 37:    • Coding Train Live 37: 3D Terrain Generation  

Related Coding Challenges:
🚂 #18 3D Fractal Trees:    • Coding Challenge #18: 3D Fractal Trees  
🚂 #24 Perlin Noise Flow Field:    • Coding Challenge #24: Perlin Noise Flow Field  
🚂 #112 3D Rendering with Rotation and Projection:    • Coding Challenge #112: 3D Rendering with R...  

Timestamps:
00:00 Introduction to the Challenge
00:46 What do we need to do?
02:14 Draw a rectangular grid!
04:13 Create a flat triangle strip mesh!
06:51 Rotate the surface in 3D!
08:47 Set the z-values of the vertices randomly!
11:04 Create a 2D array to store the z values!
13:31 How do we make the terrain infinite? What is Perlin Noise?
17:03 How do we make the terrain smooth?
17:43 Reduce offsets to get smoother z values
19:17 How do we make it appear as if we are moving over the terrain?
20:30 Change y-offset per frame to create the illusion of flying!
22:05 Thanks for watching!

Editing by Mathieu Blanchette
Animations by Jason Heglund
Music from Epidemic Sound

🚂 Website: http://thecodingtrain.com/
👾 Share Your Creation! https://thecodingtrain.com/guides/pas...
🚩 Suggest Topics: https://github.com/CodingTrain/Sugges...
💡 GitHub: https://github.com/CodingTrain
💬 Discord:   / discord  
💖 Membership: http://youtube.com/thecodingtrain/join
🛒 Store: https://standard.tv/codingtrain
🖋️ Twitter:   / thecodingtrain  
📸 Instagram:   / the.coding.train  

🎥 Coding Challenges:    • Coding Challenges  
🎥 Intro to Programming:    • Start learning here!  

🔗 p5.js: https://p5js.org
🔗 p5.js Web Editor: https://editor.p5js.org/
🔗 Processing: https://processing.org

📄 Code of Conduct: https://github.com/CodingTrain/Code-o...

This description was auto-generated. If you see a problem, please open an issue: https://github.com/CodingTrain/thecod...

#perlinnoise #terraingeneration #procedural #processing

Coding Challenge 11: 3D Terrain Generation with Perlin Noise in Processing

Поделиться в:

Доступные форматы для скачивания:

Скачать видео mp4

  • Информация по загрузке:

Скачать аудио mp3

Похожие видео

Coding Challenge 12: Lorenz Attractor

Coding Challenge 12: Lorenz Attractor

Coding Challenge 168: MandelBulb 3D Fractal

Coding Challenge 168: MandelBulb 3D Fractal

Появляется новый тип искусственного интеллекта, и он лучше, чем LLMS?

Появляется новый тип искусственного интеллекта, и он лучше, чем LLMS?

Сделал визуализацию 4D, 5D, 6D. Как выглядит 6D мир?

Сделал визуализацию 4D, 5D, 6D. Как выглядит 6D мир?

Тестируем Самую Умную Ворону в Мире

Тестируем Самую Умную Ворону в Мире

Coding Challenge #136.1: Polar Perlin Noise Loops

Coding Challenge #136.1: Polar Perlin Noise Loops

Запуск «Hello World!» на 10 ЗАПРЕЩЁННЫХ языках программирования

Запуск «Hello World!» на 10 ЗАПРЕЩЁННЫХ языках программирования

Как Сделать Настольный ЭЛЕКТРОЭРОЗИОННЫЙ Станок?

Как Сделать Настольный ЭЛЕКТРОЭРОЗИОННЫЙ Станок?

Что Будет, Если СПЛАВИТЬ ВСЕ МЕТАЛЛЫ Вместе?

Что Будет, Если СПЛАВИТЬ ВСЕ МЕТАЛЛЫ Вместе?

Предел развития НЕЙРОСЕТЕЙ

Предел развития НЕЙРОСЕТЕЙ

31 портал невозможной формы

31 портал невозможной формы

Строим пешки, которые трансформируются в любую фигуру

Строим пешки, которые трансформируются в любую фигуру

Giving Personality to Procedural Animations using Math

Giving Personality to Procedural Animations using Math

Recreating Vintage Computer Art with Processing

Recreating Vintage Computer Art with Processing

Как устроен PHP 🐘: фундаментальное знание для инженеров

Как устроен PHP 🐘: фундаментальное знание для инженеров

🧪🧪🧪🧪Как увидеть гиперпространство (4-е измерение)

🧪🧪🧪🧪Как увидеть гиперпространство (4-е измерение)

ESP32: распознавание речи нейросетью (TensorFlow Lite)

ESP32: распознавание речи нейросетью (TensorFlow Lite)

Coding Challenge 21: Mandelbrot Set

Coding Challenge 21: Mandelbrot Set

Coding Challenge 125: Fourier Series

Coding Challenge 125: Fourier Series

Coding Challenge 166: ASCII Text Images

Coding Challenge 166: ASCII Text Images

© 2025 dtub. Все права защищены.



  • Контакты
  • О нас
  • Политика конфиденциальности



Контакты для правообладателей: [email protected]