Skip to content

Bushite/Interactive-Rubik-s-Cube-Modeling

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Interactive Rubik's Cube Modeling

Objective

  • Model an interactive 3x3 Rubik’s cube based on OpenGL

  • Every face of the Rubik’s Cube can rotate 90 degrees either clock wise or counter clock wise. Rotations are associate with keyboard keys.

  • Users can manually rotate the Rubik’s Cube by dragging a face

  • The Rubik's Cube is able to solve itself

  • Supports orthographical view

  • Users can change the “stickers” of the Rubik’s Cube, which is implemented by texture mapping.

Library used

  • OpenGL

Key bindings

  • 1 Reset the cube

  • C Snap to canonical view

  • F Rotate the front face clock wise

  • B Rotate the back face clock wise

  • R Rotate the right face clock wise

  • L Rotate the left face clock wise

  • U Rotate the up face clock wise

  • D Rotate the down face clock wise

  • SHIFT+F Rotate the front face counter clock wise

  • SHIFT+B Rotate the back face counter clock wise

  • SHIFT+R Rotate the right face counter clock wise

  • SHIFT+L Rotate the left face counter clock wise

  • SHIFT+U Rotate the up face counter clock wise

  • SHIFT+D Rotate the down face counter clock wise

  • SPACE Solve the cube

Results

image image

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published