Slicing the Void: The Physics of the K-D Tree - John A. Garrett - ebook

Slicing the Void: The Physics of the K-D Tree ebook

John A. Garrett

0,0

Opis

If a video game engine tries to calculate and draw the entire geometry of a massive, 3D city all at once, the computer's processor will instantly overload and crash. The engine must quickly determine exactly which walls and enemies are visible to the player right now, and completely ignore the rest. The mathematical solution to this problem is Spatial Partitioning via the K-D Tree. This textbook explores the elegant computational geometry that built the first 3D shooters. A K-D Tree (k-dimensional tree) is an algorithm that takes a 3D room and mathematically slices it perfectly in half with an invisible plane. It then takes those two halves and slices them again, and again, creating a branching binary tree of data. We explain how, by quickly navigating this pre-calculated tree, the CPU can instantly determine what geometry is in front of the camera and what is hidden behind a wall, allowing the game to aggressively cull (delete) thousands of unseen polygons before they ever reach the graphics card. Master the geometry of deletion. Understand the invisible mathematical slices that optimize 3D space and allow massive digital worlds to run at 60 frames per second.

Ebooka przeczytasz w aplikacjach Legimi na:

Androidzie
iOS
czytnikach certyfikowanych
przez Legimi
czytnikach Kindle™
(dla wybranych pakietów)
Windows

Liczba stron: 170

Rok wydania: 2026

Odsłuch ebooka (TTS) dostepny w abonamencie „ebooki+audiobooki bez limitu” w aplikacjach Legimi na:

Androidzie
iOS
Oceny
0,0
0
0
0
0
0
Więcej informacji
Więcej informacji
Legimi nie weryfikuje, czy opinie pochodzą od konsumentów, którzy nabyli lub czytali/słuchali daną pozycję, ale usuwa fałszywe opinie, jeśli je wykryje.