Skip to content

A-Taiga/SDL-3D-Renderer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

SDL-3D-Renderer

Reads obj files in mesh-files folder and renders them in 3D.
Rotations are obtained using the following rotation matrices:
Screenshot 2023-11-24 at 1 09 58 PM

Available colors:

  • WHITE
  • RED
  • CYAN
  • GREEN
  • PINK

Conrtols:

  • W
  • A
  • S
  • D
  • Q
  • E

Input consist of the filename, color, width, and height

Example inputs:

./sdl-3D gun.obj GREEN 50 50

Screen.Recording.2023-11-24.at.8.15.31.PM.mov

./sdl-3D icosphere.obj CYAN 100 100

Screen.Recording.2023-11-24.at.8.16.53.PM.mov

./sdl-3D torus.obj RED 100 100

Screen.Recording.2023-11-24.at.8.16.15.PM.mov

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published