Skip to content

maxenceleguery/3d-render-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

35 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3D Render Engine

3D render engine project in C++. Require a Nvidia graphic card to use CUDA acceleration.

Dependencies

$ sudo apt-get install nvidia-cuda-toolkit libpng-dev libsdl2-dev libsdl2-ttf-dev

Compilation

$ make all

Execution

$ make run

Some results

Simple render of cube

Raytraced render of cube

CUDA render almost 40 times faster than classic CPU render

Raytraced chess knight

Took 2924.65s to render (64 samples per ray and 4 threads per ray)

Raytraced chess knight

Took 614.99s to render (128 samples per ray and 1 threads per ray)

Raytraced chess knight

Took 20.15s to render (128 samples per ray and 1 threads per ray) Using CUDA BVH.

Maxence Leguéry

About

3D Render engine accelerated with CUDA

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published