TP-rendu/TP5
2023-06-22 20:30:57 +02:00
..
.vscode init 2023-06-22 20:30:57 +02:00
data init 2023-06-22 20:30:57 +02:00
.editorconfig init 2023-06-22 20:30:57 +02:00
.gitignore init 2023-06-22 20:30:57 +02:00
appveyor.yml init 2023-06-22 20:30:57 +02:00
BUILD.md init 2023-06-22 20:30:57 +02:00
changelog.md init 2023-06-22 20:30:57 +02:00
CMakeLists.txt init 2023-06-22 20:30:57 +02:00
core.cpp init 2023-06-22 20:30:57 +02:00
core.hpp init 2023-06-22 20:30:57 +02:00
LICENSE init 2023-06-22 20:30:57 +02:00
main.cpp init 2023-06-22 20:30:57 +02:00
Makefile init 2023-06-22 20:30:57 +02:00
message.txt init 2023-06-22 20:30:57 +02:00
ObjModel.cpp init 2023-06-22 20:30:57 +02:00
ObjModel.cxx init 2023-06-22 20:30:57 +02:00
ObjModel.hpp init 2023-06-22 20:30:57 +02:00
README.md init 2023-06-22 20:30:57 +02:00
testEdge.cpp init 2023-06-22 20:30:57 +02:00
testEdgeList.cpp init 2023-06-22 20:30:57 +02:00

OpenGL OBJ Visualizer

Introduction

The fifth TP is about creating a visualizer for models loaded from Wavefront OBJ format files. It also lets you implement a simple subdivision model of the mesh using Loop's algorithm.

alt text

The application lets you navigate the scene and change the different rendering algorithms. The keys are:

  • s - use index rendering
  • w - draw wireframe
  • s - enable/disable subdivision
  • 1-4 - with subdivision enabled, level of subdivision
  • d - enable/disable solid rendering
  • a - enable/disable smooth rendering
  • arrow keys - rotate around the object
  • pg down/up - zoom out/in

The folder data/models contains some 3D models to play with.

Building

See BUILD text file

License

See LICENSE text file

Authors

Simone Gasparini

Contact

Simone Gasparini simone.gasparini@irit.fr