Skip to content

SeanJxie/3d-engine-from-scratch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

67 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

3d-engine-from-scratch

  • With SDL (for window and line/pixel drawing) in C++.

  • Most of what I've learnt (everything except elementary matrix math, a few rendering algorithms, and mouse input) is from javidx9's amazing resource.

  • Note that this is a learning project. The engine is by no means super optimized for industry level performance.

Demo

Install and extract the CppEngine3D_demo.zip file and run the CppEngine3D application.

The current implemented camera controls for the demo are:

  • W: move forward
  • S: move backward
  • A: move left
  • D: move right
  • LSHIFT: move down
  • SPACE: move up
  • MOUSE: look around
  • ESC: exit the demo

example_2

About

My attempt at implementing perspective projection in a useable 3D engine.

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published