Skip to content

πŸ’Ž A simple 3D model viewer written in C++. (School 42)

License

Notifications You must be signed in to change notification settings

bezlant/s21_3d_model_viewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

Β 

History

13 Commits
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 
Β 

Repository files navigation

3d Model Viewer

preview.mov

Table of Contents

Introduction

Implementation of the model viewer in C++ following the principles of structured programming.

Goals

  • Obj parser
  • Render a model (Vertices & Faces support)
  • Translate the model by a given distance in relation to the X, Y, Z axes.
  • Rotate the model by a given angle relative to its X, Y, Z axes.
  • Scale the model by a given value.
  • Gui with Imgui/GLFW
  • Code is well documented
  • Make all, install, uninstall, clean, dvi, dist, tests, gcov targets implemented
  • Unit Tests
  • Add previews

Build and Dependencies

You'll need to install clang++, make, googletest, pkg-config, glfw3 glew glm and doxygen(if you need the documentation).

$ git clone https://github.com/bezlant/s21_3d_model_viewer --recursive
$ cd s21_3d_model_viewer/src/
$ make 
$ make -f test.mk (for tests)

Tests

  • Unit tests are implemented using googletest & coverage report with LCOV
test.mov

Releases

No releases published

Packages

No packages published