Skip to content

A 3D viewer for wavefront (.obj) files using OpenGL without immediate mode and GLUT.

Notifications You must be signed in to change notification settings

lkarydas/objview

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

47 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

objview

A 3D viewer for wavefront (.obj) files using OpenGL (no immediate mode) and GLUT.

Overview

This project is at an early stage.

The GLM library written by Nate Robins is used for loading the .obj files.

The original library has been extented so that it does not use deprecated OpenGL code: the vertices and normals are loaded into VBOs and rendered using GLSL shaders.

For now the library extension only supports models with single or multiple materials. There is no support for textures yet. Part of the code provided as supporting material for "Interactive Computer Graphics" by Edward Angel was initialy used to facilitate shader loading and compiling as well as mathematical utilities. This library has been replaced with OpenGL Mathematics Library. In order to avoid potential name conflicts I renamed the original files glm.h and glm.c to libobj.h and libobj.cpp.

Objview displaying a 3D model

Dependencies

Install dependencies from Debina/Ubuntu packages:

sudo apt install libglew-dev libglut-dev libglm-dev

How To Compile

make

About

A 3D viewer for wavefront (.obj) files using OpenGL without immediate mode and GLUT.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published