Skip to content

chlookie/cake-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

93 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Cake Engine - A prototype 3D Voxel engine in C#

My own attempt at a 3D Voxel engine, written in C# using OpenTK (OpenGL wrapper and windowing library).

Implements:

  • Mesh generation from arbitrary voxel data
  • Generated Ambient Occlusion
  • Proper chunk boundary face culling
  • An attempt at a custom bucket allocator for mesh data

Main Dependencies

  • .NET SDK 6.0
  • OpenTK 4.9

Controls

  • WASD: Horizontal movement
  • Space, E: Up
  • Left Ctrl, Q: Down
  • Shift: Sprint
  • F1: Toggle wireframe

Run instructions

Acquire .NET 6.0 and run using dotnet run.

Using Nix flakes

Run nix develop to enter a devshell with the necessary dependencies (Tested only on Linux+Wayland) and then run dotnet run.

Screenshots

overview screenshot of the engine wireframe screenshot of the engine sample video recording of the engine

About

A prototype 3D Voxel engine, written in C# using OpenTK

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors