Skip to content

KSMubasshir/ray-tracing-opengl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ray-tracing-opengl

Implementation of Ray Tracing Algorithm

Output

output

OpenGL on Linux

No extra zip/ dll files are required. Since GLUT (OpenGL Utility Toolkit) depends upon OpenGL and a number of other related libraries, if we install GLUT then OpenGL will be automatically be installed.

Run the following commands to install OpenGL.

sudo apt-get update

sudo apt-get install libglu1-mesa-dev freeglut3-dev mesa-common-dev

Replace #include <glut.h> with #include <GL/glut.h>

Build & run using the following command :

g++ main.cpp -o main.out -lglut -lGLU -lGL

./main.out

About

Implementation of Ray Tracing Algorithm

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages