Skip to content

Loads any 3D model along with their DDS textures inside a configurable high-resolution skybox environment, with FPS-like mouse and keyboard controls

Notifications You must be signed in to change notification settings

beaszt-nix/ObjLoader

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

10 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ObjLoader

Load OBJ files along with accompanying DDS textures, and look at it from any angle using FPS style controls with mouse and keyboard

Project Demo

Getting Dependencies

# To install dependencies in Ubuntu
sudo apt install build-essential
sudo apt install libgl1-mesa-dev
sudo apt install libglu1-mesa-dev
sudo apt install freeglut3-dev 
sudo apt install libfreeimage-dev
sudo apt install libglfw3-dev
sudo apt install libglm-dev

# To install dependencies in Fedora
sudo dnf install make gcc-c++
sudo dnf install mesa-libGL mesa-libGLU mesa-libGLU-devel mesa-libGL-devel 
sudo dnf install glm-devel freeimage-devel freeglut-devel glfw-devel 

To compile

# To Compile the program
g++ definitions/* loaders/* glad.c main.cpp -o app -lGL -lGLU -lX11 -ldl -lglfw -lfreeimage

To run with IIITM model

#To execute
./app models/IIITM_LOGO.obj models/IIITM_UV_MAP.dds

Controls

Menu Screen

About

Loads any 3D model along with their DDS textures inside a configurable high-resolution skybox environment, with FPS-like mouse and keyboard controls

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published