Viser opslag med etiketten OpenGL. Vis alle opslag
Viser opslag med etiketten OpenGL. Vis alle opslag

3D Minigolf - Hobby project done in C++/OpenGL

3D Minigolf is a small minigolf game based on a simple 3D engine done in C++ and OpenGL.

3D Minigolf is a hobby project I have done to develop my C++ programming and 3D graphics skills. The project has been based on some assignments from a Game Engine Programming course at my university.

The project is not completely finished as the minigolf game is for example missing a start menu, a high score list, minor tweaks and the ability to choose how many players there should be in the game.

The minigolf game contains 18 levels, which are all read from a simple text file. Please find below the source code for the game which should be able to be compiled using OpenGL libraries to create an executable file.

Links:

Author:
Martin Treacy-Schwartz

Schwartz Physics - a small physics engine

This is a small physics engine I am making as a hobby project. I call it Schwartz Physics (very original I know).

The engine is programmed in C++ using OpenGL for rendering. I am doing this project because I like working with physics and I want to get to know the basics of implementing a real-time physics engine.

I will try in small steps to add more complexity to the engine more. There are links below to videos demonstrating the engine. More videos to come soon. The source code is also available.

The engine now includes two hard constraints: rods and cables, which both work for particles. Rods keep two at a fixed distance from each other no longer or shorter than that. Cables keep two particles within a fixed distance meaning the particles can move free within that distance. The bridge example is demonstrating those features.

Links:

Author:
Martin Treacy-Schwartz