Skip to content

Scorpionnem/scop

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

80 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

42 Grade: 125/100

A "simple" .obj loader and renderer. This project is part of the 42 curriculum, aiming to explore graphics programming using OpenGL.

The main goals of the project are:

  • Parsing .obj files (and .mtl as part of my bonus)
  • Rendering textures on the triangles

For this project I had to learn how to use OpenGL and thus GLSL shaders.

As part of my bonuses I also added many additional features:

  • A whole UI system (Sliders and buttons)
  • Proper handling of .mtl files (Though I did not parse the whole material)
  • Normal maps
  • Light (Basic Phong lighting)
  • A camera that can move in the 3d world
  • A skybox
  • A terminal in the window (Used to change some additional settings that didnt fit in the UI)

Quite a lot of bonuses as the subject said we could add our own :)

To compile and run this project you can just use make to create the binary file used to launch the program, then just pass a .obj model as argument. (and optionally a .bmp file for the texture)

And here are a few screenshots to showcase the project:

image

Screenshot from 2025-05-16 21-17-48

About

42 scop project

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 2

  •  
  •