Популярное

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

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

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

Топ запросов

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

Spatial Hash Grids & Tales from Game Development

Автор: SimonDev

Загружено: 2020-11-30

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

Описание:

🛒 Recommended books (on Amazon): https://www.amazon.com/hz/wishlist/ls...
❤️ Support me on Patreon:   / simondevyt  
🌍 My Gamedev Courses: https://simondev.teachable.com/

Disclaimer: Commission is earned from qualifying purchases on Amazon links.

Follow me on:
Twitter:   / iced_coffee_dev  
Github: https://github.com/simondevyoutube/

In this project we're covering spatial hash grids, or spatial hashing, people seem to call it all sorts of different names. Anyway, we'll be covering a spatial hash grid implementation in JavaScript, working through it line by line. We'll walk through the code step by step, explaining it as we go, and as an added bonus, I've implemented a small scene in Three.js with hundreds of moving agents that we can use to visualize what's visible from the perspective of any given agent.

I'll also tell a small but interesting little story from way back when I was working on xbox/playstation games. Somewhat related to the topic.

Having a comprehensive understanding of data structures is fundamental to being a solid game developer. You need to understand the trade-offs, not just in time complexity. Questions like memory consumption, implementation and on-going maintenance costs, these all factor in. Sometimes simple solutions, implemented well, that get you 95% of the way there but at a fraction of the developer cost, are the way to go.

The three.js library is available in JavaScript for cross-browser 3d graphics, wrapping webgl and making high level functionality available in the web browser. It’s an extremely mature and well maintained library that I use for many of these videos.

In the video, we cover:
What problem are we trying to solve? We'll look at examples from major games to understand their needs in different situations.
We'll touch on alternative spatial data structures, and discuss the tradeoffs.
I'll talk about an instance in my career that's relevant to this problem
Step by step walk through for the full implementation of a basic spatial hash grid.

Spatial Hash Grids & Tales from Game Development

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

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

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

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

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

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

Three.js Tutorial on Shaders (beginners)

Three.js Tutorial on Shaders (beginners)

How I Optimized My JavaScript Project (Complete Walkthrough) | Faster Spatial Hash Grids

How I Optimized My JavaScript Project (Complete Walkthrough) | Faster Spatial Hash Grids

How Quake Failed their way to Success

How Quake Failed their way to Success

Как устроена компьютерная графика? OpenGL / C++

Как устроена компьютерная графика? OpenGL / C++

Better Mountain Generators That Aren't Perlin Noise or Erosion

Better Mountain Generators That Aren't Perlin Noise or Erosion

The Ridiculous Engineering Of The World's Most Important Machine

The Ridiculous Engineering Of The World's Most Important Machine

Why Doom is Awesome: Binary Space Partitioning

Why Doom is Awesome: Binary Space Partitioning

Когда твоя игра плоха, но оптимизация гениальна

Когда твоя игра плоха, но оптимизация гениальна

Куда исчезли ТРЕХФАЗНЫЕ ПОЕЗДА? История электротранспорта о которой вы не знали!

Куда исчезли ТРЕХФАЗНЫЕ ПОЕЗДА? История электротранспорта о которой вы не знали!

Цепи Маркова — математика предсказаний [Veritasium]

Цепи Маркова — математика предсказаний [Veritasium]

Neat AI does Spatial Hash Boids

Neat AI does Spatial Hash Boids

Java. Алгоритм генерации фрактального шума.

Java. Алгоритм генерации фрактального шума.

11 - Нахождение столкновений среди тысяч объектов с невероятной скоростью

11 - Нахождение столкновений среди тысяч объектов с невероятной скоростью

Цена российской нефти упала до $34.. Как жить дальше? | Дмитрий Потапенко*

Цена российской нефти упала до $34.. Как жить дальше? | Дмитрий Потапенко*

When Optimisations Work, But for the Wrong Reasons

When Optimisations Work, But for the Wrong Reasons

Процедурная генерация с коллапсом волновой функции и синтезом моделей | Unity Devlog

Процедурная генерация с коллапсом волновой функции и синтезом моделей | Unity Devlog

Faster than Rust and C++: the PERFECT hash table

Faster than Rust and C++: the PERFECT hash table

A new way to generate worlds (stitched WFC)

A new way to generate worlds (stitched WFC)

I Tried Making a 3D MMORPG Game in JavaScript

I Tried Making a 3D MMORPG Game in JavaScript

Странный, но элегантный подход к удивительно сложной проблеме (алгоритм GJK)

Странный, но элегантный подход к удивительно сложной проблеме (алгоритм GJK)

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



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



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