Skip to content

vishnurajendran/sdf-renderer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SDF Renderer

This project aims to develop an SDF-based ray marching renderer from scratch (without any game engine), supporting real-time Boolean operations and offering a flexible, performant approach to procedural rendering. sdf-img

Features

  1. Add/Remove simple primitives to scene (Sphere, Box, Cylinder)
  2. Diffuse Lighting
  3. User modifiable shape properties
  4. Boolean operations to provide CSG functionality

Compilation

run the following commands to setup the project using cmake.

mkdir build-release
cd  build-release
cmake -DCMAKE_BUILD_TYPE=Release ..

Once the above cmake command finishes running and no errors show up, run

cmake --build . --target spline_editor -j 30

-j 30 lets cmake build in parallel, it is recommended to use this to make your compile times shorter.

Once compiled, the executable will be available in a new directory bin in the root directory of the project.

About

a simple sdf renderer using ray-marching

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published