, ,

3D Rubik’s Cube

A simulation of a functioning Rubik’s Cube in 3D using OpenGL with GLSL shading and custom shadow mapping.

Description

I used OpenTK (a C# wrapper for OpenGL) to create this simulation of a Rubik’s Cube. I implemented simple phong-lighting with GLSL, as well as mouse-picking and simple shadow-mapping from scratch.

The Cube can be moved with the mouse. Likewise the individual sides of the Cube can be rotated.

Time of Development

Mid 2016