https://github.com/michalgallovic/computer-graphics
🎮 Fractals, Bezier curve, Image processing and Physics
https://github.com/michalgallovic/computer-graphics
computer-graphics cpp docker glm glut opengl
Last synced: about 2 months ago
JSON representation
🎮 Fractals, Bezier curve, Image processing and Physics
- Host: GitHub
- URL: https://github.com/michalgallovic/computer-graphics
- Owner: MichalGallovic
- Created: 2019-07-20T12:33:18.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-07-21T12:30:10.000Z (almost 7 years ago)
- Last Synced: 2025-06-02T16:40:05.015Z (about 1 year ago)
- Topics: computer-graphics, cpp, docker, glm, glut, opengl
- Language: C++
- Homepage:
- Size: 39.9 MB
- Stars: 2
- Watchers: 0
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
### Computer graphics
Code from computer graphics course I've taken during my university studies. It includes basic opengl commands, image processing using convolutional filters, drawing bezier curves and my final project - game with physics, rigid bodies and collision detection.
Code was written in C++ using OpenGL/GLM and GLUT libraries.
For more information checkout README files of each subproject.
#### Build and run
Instructions on how to build and run each repository can be found in each folder.
#### Preview project using Docker
You can also preview the project using Docker:
```
# Change directory to the root of the project
cd Computer-Graphics
# Build docker image
docker build -t cg/preview:0.1.0 .
# Run docker image
docker run --rm -d -p 6080:80 -p 5900:5900 -e RESOLUTION=1920x1080 cg/preview:0.1.0
# Stop docker iamges
docker stop
```
When docker is running, you can interact with Ubuntu and run projects using browser on `localhost:6080` or through VNC software on `localhost:5900`. All projects are pre-built on `Desktop`.
#### Bounce unlimited
3D Platform game Bounce Unlimited 💯

Currently there is segmentation fault issue in this project and I did not have time to fix it. Though when built on mac without docker it works.
#### Image processing
Based on the Image of [Chichen Itza pyramid](https://en.wikipedia.org/wiki/Chichen_Itza) program tries to reconstruct its 3D image.

#### Bezier curve
Draws bezier curve and redraws shape when new points are added or existing points moved. Uses [Casteljau's algorithm](https://en.wikipedia.org/wiki/De_Casteljau%27s_algorithm).

#### Ball in cube & Fractals
Basic OpenGL drawing with camera movement and fractals drawn on the inner walls of cube.
