The Math behind (most) 3D games - Perspective Projection
Perspective matrices have been used behind the scenes since the inception of 3D gaming, and the majority of vector libraries will have built-in helper functions to construct them for you. But what if you wanted to know the reasoning behind how these matrices are constructed.
I start off with a brief introduction of computer graphics and the key ideas behind 3D rendering. I differentiate between Image Order Rasterization typically used by Ray tracers, and object order rasterization as used in most video games. I then present an animated walkthrough showing the full derivation of both the orthographic and perspective projection matrices.
My derivation here is focused on the Vulkan API, but the reasoning applies just as well to other API’s such as OpenGL or direct X, with the only notable differences being the size of the canonical viewing volumes, and the handedness and conventions of the xyz coordinate systems.
0:00 How does 3D graphics work?
2:05 Image versus object order rendering
2:51 The Orthographic
1 view
4108
1537
6 days ago 00:16:46 1
Поиграл в Ready or Not и получил депрессию
2 weeks ago 00:06:43 1
Shrooms on N313 soviet oscilloscope
2 weeks ago 00:13:57 1
Why did Davy Jones Look SO Realistic?
2 weeks ago 01:03:07 1
🔴 Amsterdam: The Shocking Truth the Media Won’t Tell You | Syriana Analysis
3 weeks ago 00:20:02 1
NEW Thermaltake TH360 V2 Ultra ARGB Sync AIO CPU Water Cooler With IPS LCD Screen
3 weeks ago 01:00:07 1
Shreeman Narayan Bhjan - श्रीमन् नारायण नारायण हरे हरेNONSTOP-2024
3 weeks ago 01:23:58 1
Symbols of an Alien Sky, Episode 2: The Lightning-Scarred Planet Mars
3 weeks ago 00:09:01 1
КАК СДЕЛАТЬ ТРЕК В ЖАНРЕ СКРИМО // МИДВЕСТ ЭМО
4 weeks ago 00:22:16 1
This Mod really Brings Warcraft 3 to StarCraft 2? Modded SC2 Tournament Cast!
4 weeks ago 00:02:33 1
INTER-JUVENTUS 4-4 | HIGHLIGHTS | A thriller at the San Siro! | Serie A 2024/25
4 weeks ago 00:01:36 1
The Elder Scrolls Online - Conquer the Battlegrounds
4 weeks ago 00:06:30 1
Зенит – Локомотив: гол Батракова, позор Соболева, Карасев
4 weeks ago 00:31:47 1
ВИНИ vs РОДРИ: битва за ЗМ! / КАРПИН против комментаторов / МЮ выгнал ТЕН ХАГА / БАРСА казнила РЕАЛ
4 weeks ago 00:39:35 1
He QUIT CHESS for college, now he’s TOP 8! WEI YI Podcast
4 weeks ago 00:26:58 1
FULL MATCH | Lin Shidong vs Felix Lebrun | MS SF | #WTTMontpellier 2024
4 weeks ago 00:01:34 1
1969 Chevrolet Camaro SS Supercharged LSA Pro-Touring Restomod
4 weeks ago 00:02:17 2
PERSONAL TASTE / PERFECT MATCH (FULL TRAILER / TEASER) (ABS-CBN)
4 weeks ago 00:21:14 1
Can You Beat Baldur’s Gate 3 While Locked In First Person PoV?
4 weeks ago 00:51:34 1
10 ЛЕТ СТАДИОНУ. ТРИБУНА «СЕВЕР». КАК ЭТО БЫЛО
4 weeks ago 00:04:54 1
International Rugby League | England v Toa Samoa | Match Highlights | First Test
4 weeks ago 00:02:48 1
Math Professor Fixes Projector Screen (April Fools Prank)
4 weeks ago 00:03:57 1
Rugby League International | PNG Orchids PM’s XIII v Australian PM’s XIII | Match Highlights | 2024
4 weeks ago 00:39:38 1
Finally BREAKING Most Anticipated MH3 COMBO? | MTGO