Skip to content

aozerova/sokol-renderer

Repository files navigation

Sokol Renderer

An educational project to build a renderer on top of Sokol.

In order to run, make sure you compile the sokol libs inside of vendor/sokol by running the appropriate script for your operating system. For Linux users, this can also be done by running the vendor_libs_rebuild.sh script.

Build & Run Instructions

Linux

Execute the build script:

./build.sh <run (optional) | debug (optional) | shader (optional)>

Note: if no argument is passed, the script will output the build artifact to target/core.

The script will clean any build artifacts (shaders, executables), make sure the correct folders are present on your filesystem (target/), build the shaders using the tools under tools, and then execute the appropriate flavour of odin run/build ./core -out:target/core, based on the arguments you have provided. If you run a variant of odin run..., the script will also clean up the artifact generated from running the executable after you close the window.

Architecture

Core

:3

Library

App

:3

Util

:3

About

Odinlang + Sokol based renderer.

Resources

Stars

Watchers

Forks

Contributors