8000 GitHub - tailsmonster/prismGL: A Prism in OpenGL!!! - A lightweight OpenGL-based 3D graphics application built from scratch in C++. Capstone project for The Marcy Lab School.
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

A Prism in OpenGL!!! - A lightweight OpenGL-based 3D graphics application built from scratch in C++. Capstone project for The Marcy Lab School.

License

Notifications You must be signed in to change notification settings

tailsmonster/prismGL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

30 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

prismGL

My Capstone Project for The Marcy Lab School

A lightweight OpenGL-based 3D graphics application built from scratch in C++

As a part of our Software Engineering Fellowship, we had 10 weeks to learn a brand new technology and create a capstone project with it. I decided to diverge from the web development I'd have spent the last 10 months learning to dive deeper into low-level programming. I've always been fascinated with game development, and making something in that realm was my main motivator behind going down this route. I started out by learning C, and once I had a handle on the basics I moved onto picking up C++. Eventually came time to pick up OpenGL (a graphics library I had chosen for being an industry standard) and used that alongside GLFW to manage windows and OpenGL contexts, Glad to manage function pointers for OpenGL, and later incorporated GLM, a C++ math library for OpenGL's shading language.

While this is a small project, it shows a commitment to self learning! This project was tough for me! But I was able to pull through, and learn so many new concepts in such a short amount of time.

screenshot

Presentation Slides: https://docs.google.com/presentation/d/1KO9wPCWXOwfeYVaQ4cV5OP2ssWn4ZD9pixSIIrQd90w

This was originally built on Windows 10 on Visual Studio, but I had issues compiling a release executable. Since I use Linux 24/7 nowadays, I've made it to now compile with only CMake, making it crossplatform and portable, also squashing any bugs I didn't resolve previously. I mostly just did this to have an actual binary to share, for portfolio purposes.


BUILDING

Dependencies:

  • CMake
  • C++17
  • OpenGL 3.3+
  • GLFW
  • GLM

Linux:

$ mkdir build && cd build
$ cmake ..
$ make

Windows:

COMING SOON

CONTROLS

  • W, A, S, D — Move camera

  • Mouse Left Button + Move — Look around

  • Space / Left Ctrl — Move up/down

  • Left Shift — Increase movement speed

  • ESC — Close the window

  • R — Rename the window

Technically, you can replace aigis.png with any file of the same name. So, you can add your own custom png texture this way!

About

A Prism in OpenGL!!! - A lightweight OpenGL-based 3D graphics application built from scratch in C++. Capstone project for The Marcy Lab School.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

0