Skip to content

A small demonstration of OpenGL and 3D ball physics, made in 2020.

Notifications You must be signed in to change notification settings

JosCla/opengl-ball

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

14 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

OpenGL Ball

A simple demonstration of ball physics in OpenGL, in an interactive environment. Move around and push an ellipsoid that collides with the environment!

I originally built this project in Summer of 2020 to learn and practice C++, Linux, and a bit of Blender, too.

If you look in the screenshots folder, you can see screenshots I took while developing the program!

Building the Project

Navigate to the root of the project, and run make.

This project uses OpenGL, GLFW, GLAD, STB_IMAGE, and GLM.

Usage

After building the project, run the project with ./main.

  • Use the mouse to rotate the camera
  • Use WASD to move around
  • Use Escape to quit
  • Use T to toggle your flashlight
  • Use N to toggle noclip (allows you to fly up and down)
  • Hold F to render in wireframe mode
  • Use F11 to take a screenshot
  • Use F10 to unlock/lock the cursor

Resources

About

A small demonstration of OpenGL and 3D ball physics, made in 2020.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published