B-Rend3r – to understand 3d engines

B-Rend3r is written in C++. I’m using OpenGL and SDL2 to build a minimalist 3d application with the main goal to understand the core of 3d engines by implementing common classes like: Vec3, Mat44, Mesh Generator, Renderer, Transform, etc.

To give you some details, the Shape component generates the circle’s mesh when program starts, then the KeyboardController handle user inputs to generate a force to apply to the circle, the Physics component apply a smooth before to effectively move the circle using the Transform component (sets position/rotation/scale).

Video – The user is moving a red circle using keyboard arrows. 

Read more…