Vortex Engine is a set of C++17 libraries for software-rendered first-person games. It began as the rendering and audio code developed for Extremis RE, an independent reconstruction of the DOS game In Extremis.
The engine is maintained separately from the game so that its rendering and audio systems can be reused in other projects. Vortex handles scene rendering and PCM playback; the application supplies its own world data, assets, gameplay rules, input and user interface.
Vortex is not a complete game framework or a replacement for the original logic of any supported game. Its interfaces are still evolving as the code is separated from Extremis RE and exercised by independent consumers.
| CMake target | Description | Dependencies |
|---|---|---|
Vortex::CPU |
CPU first-person renderer: raycasting, textured walls, floors and ceilings, sprite rendering, depth/occlusion and optional fisheye processing. | C++17 |
Vortex::Audio |
PCM audio mixer with multiple voices, gain control, looping and volume ramps. | C++17 |
Vortex::AudioSDL |
SDL3 output backend for audio produced by the mixer. | Vortex::Audio, SDL3 |
Vortex::InputSDL |
Keyboard and relative mouse input for an SDL window. | SDL3 |
The renderer writes to a CPU framebuffer. Presenting that framebuffer in a window, and interpreting game-specific maps, materials and resources, remain the responsibility of the host application.
The audio mixer operates on decoded samples. Original game sound formats and gameplay sound events are handled outside Vortex.
Vortex::CPU also exposes vortex::first_person::RenderWorkers for opt-in multicore rendering. Its workers are reused across frames; raycasting, wall rendering, planes, depth expansion, eligible sprite spans and fisheye work can be distributed without changing the existing single-threaded entry point. Small or order-sensitive work remains serial when appropriate. The call completes its work before returning, and the host retains ownership of scene data and framebuffers. See rendering for the concurrency and callback contracts.
- C++17-compatible compiler
- CMake 3.21 or later
- SDL3 development libraries for the optional
AudioSDLandInputSDLbackends
Development and manual validation have primarily taken place on macOS. Other platforms may require additional testing.
With SDL3 available:
cmake -S . -B build/release -DCMAKE_BUILD_TYPE=Release
cmake --build build/release --parallel
ctest --test-dir build/release --output-on-failureTo build the renderer and mixer without SDL3:
cmake -S . -B build/cpu-only \
-DCMAKE_BUILD_TYPE=Release \
-DVORTEX_ENABLE_SDL3=OFF
cmake --build build/cpu-only --parallel
ctest --test-dir build/cpu-only --output-on-failureThe test suite includes independent consumers for rendering and mixing, plus SDL3 audio and input tests when those components are enabled.
Vortex provides an installable CMake package with exported targets.
cmake --install build/release --prefix /absolute/path/to/vortex-installPoint the consuming project's CMAKE_PREFIX_PATH at that installation, then link the components it needs:
find_package(Vortex CONFIG REQUIRED COMPONENTS CPU Audio)
target_link_libraries(my_game PRIVATE
Vortex::CPU
Vortex::Audio
)If the installation includes the SDL3 backends:
find_package(Vortex CONFIG REQUIRED COMPONENTS AudioSDL InputSDL)
target_link_libraries(my_game PRIVATE Vortex::AudioSDL Vortex::InputSDL)An installation built with VORTEX_ENABLE_SDL3=ON also needs SDL3 discoverable by CMake when loading its package configuration. To distribute or consume only the CPU renderer and mixer without SDL3, use a build configured with VORTEX_ENABLE_SDL3=OFF.
The technical guide covers architecture, rendering, audio, CMake integration and tests.
For device-input integration, see SDL3 input.
include/vortex/ Public headers
src/vortex/ Library implementations and CMake targets
tests/vortex/ Standalone renderer and audio consumers
cmake/ CMake package configuration
The current implementation reflects the requirements of Extremis RE. In particular, it provides a raycasting-based first-person renderer rather than a general-purpose polygonal 3D renderer.
Future work will be driven by real integration requirements and compatibility testing. No stable API or compatibility guarantee is claimed at this stage.
Extremis RE is the first project built around these systems. Its DOS resource readers, gameplay implementation, cinematics and other game-specific components are not part of Vortex Engine.
Vortex Engine is released under the MIT License.
Development and maintenance: Carlos de la Barrera Pérez (xXNukem).
In Extremis and its original assets belong to their respective rights holders. No original game assets are distributed with Vortex Engine.
