Skip to content

phoenixbishea/LARP-3D-Rendering-Engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LARP-3D-Rendering-Engine

Repo for a 3d rendering engine intended to explore the concepts of computer graphics.

Contributors

Name Github
Phoenix Bishea phoenixbishea
Ryan Lorey RyFry
Adam Miller Zin20
Luben Popov lpopov101

Dependencies

Currently this project only runs on Unix systems. In order to build and run the project, the following dependencies are required:

GLFW (Included with the project in the lib/ folder)
OpenGL
GLU
GLEW
pthread
Xrandr
Xxf86vm
Xi
Xinerama
X11
dl
Xcursor
SOIL
glm
assimp

Building and Running

To build and run:

cd path/to/repository
make run

If all of the dependencies are met, the project should load and run.

Known Issues

/usr/bin/ld: cannot find -lglfw3

If you get this error, type the following commands from the root directory

cd lib
ln -s libglfw.so.3.1 libglfw3.so

This will create a symbolic link to the proper GLFW library that your linker will be able to detect. This is already a known issue on Arch Linux.

Easy-to-fix errors

If you see this:

terminate called after throwing an instance of 'std::runtime_error'
  what():  ***** src/Model.cpp, line 80, process_mesh() : mesh->mNormals is NULL *****

Then you probably forgot to export your normals when you exported your Blender file as a .obj! When exporting, on the left-hand side make sure you check the "Include Normals" option, otherwise you will get this error.

About

Repo intended to explore concepts of 3d computer graphics.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Contributors 4

  •  
  •  
  •  
  •