Skip to content

Experimental build of a 3d engine from the ground up.

Notifications You must be signed in to change notification settings

rafaavc/3d-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

23 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3D Engine

An experimental - significantly underperforming - personal build of a 3D engine meant to solidify Computer Graphics theory understanding and implement classical algorithms such as Z-Buffer, Constant Shading, and Backface Culling.


Rendering a rotating cube with constant shading and Z-Buffer.


Rendering a rotating Utah Teapot with constant shading and Z-Buffer.

Features

  • Constant Shading
  • Z-Buffer
  • Backface Culling
  • Projection of 3D points in 2D space
  • Transformations
  • .obj support

Third party dependencies

Compilation

Pre-made scripts (linux)

You may need to give execution permission to the files:

chmod a+x <file_name>

build and run

./run -b

build

./buildit

run

./run

Manual (linux)

build

mkdir -p build && cd build
cmake .. 
make 

run

./build/proj

About

Experimental build of a 3d engine from the ground up.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published