Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

113 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Quick Start

Requirements

  • C23 Clang
  • SDL3

Clone, Build, & Run

git clone https://github.com/jspingu/threefold.git
cd threefold
make -j$(nproc)
./out

Vectorization Options

By default, vectorized function variants are built for all supported SIMD extensions on the target architecture and called through dynamic dispatch.

To build a tailored binary with static dispatch instead:

CFLAGS="-march=native" VECTORIZATION="static" make -j$(nproc)

Supported extensions:

  • x86: SSE2, AVX2, AVX512F
  • ARM: NEON (v7), SVE

Showcase

scene

Software-rendered scene — Utah teapot (22,855 triangles), skybox, lights, phong shading, cubemap reflections, gamma correction

1920x1200@~50FPS on my X1P42100

About

WIP 3D Game Engine

Resources

Stars

0 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages