STDISCM Problem Set # 1
Authors: Faith Griffin and Tyrone Sta. Maria
This project is a particle simulator that utilizes concurrent programming alongside C++ and OpenGL.
Before you begin, ensure you have the following installed on your system:
- OpenGL: A cross-language, cross-platform application programming interface (API) for rendering 2D and 3D vector graphics. Typically included with your operating system or can be updated via your graphics card driver.
- FreeGLUT: The OpenGL Utility Toolkit, a free-software/open-source alternative to the OpenGL Utility Toolkit (GLUT) library. FreeGLUT allows the creation of interactive programs that use OpenGL.
- Visual Studio: An integrated development environment (IDE) from Microsoft. This project was developed using Visual Studio 2019, but it should be compatible with newer versions. Ensure you have the C++ development tools and the latest Windows SDK installed. Download Visual Studio from the official Microsoft website.
git clone https://github.com/TyroneStaMaria/stdiscm-balls-project.git
or download as a ZIP file and extract it
Using Visual Studio
- Navigate to the
Balls/
directory. - Double-click on
Balls.sln
to open the project in Visual Studio.
If you prefer not to use the solution file:
- Open Visual Studio.
- Select
File > Open > Project/Solution
and navigate to theBalls/
directory. - Choose
Balls.sln
to load the project.
To build and run the project:
- In Visual Studio, set the build configuration to "Release" or "Debug" depending on your needs.
- Press
Ctrl + F5
to build and run the project without debugging.
Alternatively, you can use F5
to run with debugging enabled if you need to troubleshoot or develop the project further.
Here is a demonstration of how to use the particle simulator.
https://drive.google.com/file/d/1Z4VnUZCtM8h1md4B7-Ggk-xIhArg5P0S/view?usp=drive_link