Gabbell / GLRenderer

Continuous learning of OpenGL - 3D Pacman, Heightmap Visualizer and Raytracer

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

GLRenderer

Continuous learning of OpenGL through academic assignments and curiosity using GLM and GLFW

Pacman3D

A 3D Pacman game. Features enemies with basic pathfinding, camera and player movement, little red balls to pickup and an axis indicator. The grid size is user-defined. Camera movements include yaw, pitch, rotating the world around different axes, zooming and translating.


Heightmap & Catmull-Rom Splines

A height map visualizer. Uses stb_image to parse image information. Once the image is loaded, 4 different meshes are generated. The original unchanged picture, a version with skipsized points (user-defined), a version with one Catmull-Rom pass and a version with two Catmull-Rom passes. You can see the different renders using GL_POINTS and GL_TRIANGLES. The meshes are rendered using GL_TRIANGLE_STRIP and primitive restarting.


Raytracer

A basic raytracer with lighting and shadows. It can compute intersections for spheres, planes, triangles and .obj's. It can produce images like the following.

About

Continuous learning of OpenGL - 3D Pacman, Heightmap Visualizer and Raytracer


Languages

Language:C++ 72.5%Language:C 26.6%Language:Objective-C 0.8%Language:CMake 0.0%Language:GLSL 0.0%