Skip to content

A Obj Loader/Viewer using NanoGui and TinyObjLoader

Notifications You must be signed in to change notification settings

esaeed1/Assignment-1

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

28 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Assignment 1

A Obj loader/viewer using Nanogui and Tinyobjloader

Tiny OBJ Loader

NanoGUI

  • NanoGUI builds on GLFW for cross-platform OpenGL context creation and event handling, GLAD to use OpenGL 3.x or higher Windows, Eigen for basic vector types, and NanoVG to draw 2D primitives.
  • https://github.com/wjakob/nanogui

This code was made using this code https://github.com/stephane-lb/tinyobjviewer and made modifications to allow for

  • Translate the model / camera in X, Y and Z directions. - Sliders

  • Change the field of view of the camera – both horizontal and vertical. - Button

  • (Change the values of the near and far clipping plane. - Slider

  • Reseting view - Button

  • Zoom in and zoom out view of the model. - Mouse

  • Wireframe - Button

  • Rotate the model / camera around X, Y, and Z axes.

  • Rotate the model /camera according to the moving direction and distance of the mouse.

  • Rotate the model around non-major axes as intuitively as possible!

Screenshot from 2023-02-21 15-10-43

Vedio of program running

program.running.mp4

About

A Obj Loader/Viewer using NanoGui and TinyObjLoader

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • C++ 91.2%
  • CMake 8.8%