Skip to content

3d renderer from scratch in C that renders obj files

Notifications You must be signed in to change notification settings

mrmojo2/3drenderer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Simple 3D Renderer

A simple 3D rendering engine based on rasterization. This project demonstrates the fundamentals of 3D rendering, including transformations, projection, z-buffer, textures and shading, implemented from scratch.

Output Preview

3D Renderer Output

Getting Started

Requirements

  • A C/C++ compiler (e.g., GCC, Clang)
  • SDL2 library for window management and rendering

Installation

  1. Clone the repository:

    git clone https://github.com/mrmojo2/3drenderer.git
    cd 3drenderer
  2. Build the project:

    make
  3. Run the renderer:

    ./bin/renderer <model.obj>

    Replace <model.obj> with the path to your .obj file.

About

3d renderer from scratch in C that renders obj files

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published