This video explains one of my favorite algorithms ever: The Voxel Space engine. This technique was used to render the terrain in the Comanche: Maximum Overkill game.
We’ll start with a high-level overview of the technique, and proceed to write a very short implementation using C and a graphics framework called DOS-Like.
Source code:
DOS-Like framework:
Rotation p5js Sketch:
Voxel Space was a voxel raster graphics rendering engine invented by Novalogic developer and vice-president of technology, Kyle Freeman, and it was used in many of their games.
The first game that used this technique was called “Comanche: Maximum Overkill“. Comanche was programmed in 32-bit x86 assembly, and it was released for MS-DOS users in 1992.
Novalogic was issued a patent for the technology in early 2000.
US Patent US6020893:
Chapters:
00:00:00 Introduction
00:03:00 Kyle Freeman
00:08:00 High-level Algorithm Overview
00:24:11 Starting our C implementation
00:50:09 FOV, Projection, and Looping Voxels
01:17:45 Rendering from Front to Back
01:34:19 Perspective Projection and Perspective Divide
01:43:34 Handling Keyboard Input
01:47:13 Wrapping Terrain Data Around
01:54:22 Camera Rotation
02:12:08 Horizon (Pitch Up & Down)
02:19:30 A Discussion on Fog Effect, Camera Roll, and Sprites
02:27:14 Final Considerations on Performance
02:40:00 Conclusion & Next Steps
For comprehensive courses on computer science, retro programming, and mathematics, visit:
.
Also, don’t forget to subscribe to receive updates and news about new lectures and tutorials:
Enjoy!
1 view
380
111
2 months ago 00:22:35 1
Why Minecraft Peaceful Mode is Terrifying
4 months ago 00:01:41 4
Teardown Trailer
5 months ago 00:11:35 1
PVE IS HERE! - MASSIVE Space Engineers Update Teaser
5 months ago 00:10:51 1
Craft Theft War - Gameplay - Ans32 Game
6 months ago 00:30:03 14
Chiru-san @ 1K MIX
7 months ago 00:20:01 1
NEW blocks and WI-FI! - Space Engineers Signals Update (Signals Update - Signal Pack DLC)
8 months ago 00:08:22 1
WI-FI coming to Space Engineers VERY soon! - Space Engineers “Signals Update“ NEWS
9 months ago 00:18:59 1
This Week in Bevy: Animation Graphs, Cheatbook, and googly eyes!
10 months ago 00:08:30 3
Текстурирование в Magica Voxel - Палитра из картинки - Быстрая покраска / Как создать игру [Урок145]
10 months ago 00:40:39 15
Экспорт из Magica Voxel в Unity - Настройка материалов и рендера / Как создать игру [Урок 144]
10 months ago 00:08:30 1
Свои горячие клавиши в Magica Voxel - Меняем раскладку клавиатуры / Как создать игру [Урок 143]
10 months ago 00:02:49 12
Русская версия Magica Voxel - Русификация интерфейса / Как создать игру [Урок 141]
10 months ago 00:24:45 3
Основы Magica Voxel - Разбор базовых приёмов моделирования / Как создать игру [Урок 142]
10 months ago 00:05:12 16
Pilgway Releases 3DCoat 2024 - Improved Functionality and Performance
10 months ago 00:25:07 1
Ambient Occlusion в играх простым языком! SSAO, SSDO, HBAO+, GTAO, LSAO, VXAO, DeepAO
12 months ago 00:26:46 1
КАК УСТРОЕНА 3D ГРАФИКА В ИГРАХ - Тени Освещение Отражения Сглаживание Ray-Tracing
1 year ago 00:54:07 1
Deathbrain - fantasy noises & perfect delusions (Full Album)