https://github.com/jusqua/me-cart
Final Project for University's Computer Graphics Course
https://github.com/jusqua/me-cart
clang computer-graphics cpp glew glfw glm makefile opengl shaders stb-image
Last synced: 15 days ago
JSON representation
Final Project for University's Computer Graphics Course
- Host: GitHub
- URL: https://github.com/jusqua/me-cart
- Owner: jusqua
- License: gpl-3.0
- Created: 2024-06-28T04:15:59.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2024-08-14T14:21:16.000Z (about 1 year ago)
- Last Synced: 2025-09-02T03:44:18.788Z (about 2 months ago)
- Topics: clang, computer-graphics, cpp, glew, glfw, glm, makefile, opengl, shaders, stb-image
- Language: C++
- Homepage:
- Size: 19 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Me, Cart
## How to use this project?
This project in made in C++ with OpenGL, some tools and libraries are needed to this program run correctly:
- Clang
- Make
- GLFW
- GLEW
- GLM
- STB
### Setting up
#### Fedora
```
sudo dnf install glew-devel glfw-devel glm-devel clang make
```
#### Debian/Ubuntu
```
sudo apt install libstdc++-12-dev libglew-dev libglfw3-dev libglm-dev clang make
```
### Running
There are available 4 types of terrain in PGM are located at `resources/terrain/` that you can choose, or input your own PGM file.
There are available 2 types of terrain texture images are located at `resources/textures/` that you can choose, or input your own image file.
You need to build first with `make` that returns a binary `me-cart`:
```
make
./me-cart [terrain structure path] [terrain texture path]
```
If no files are specified the defaults are selected: `plains.pgm` and `limestone.jpg`.
## Actions
Use `Mouse` to move around, it's implements a fly-like camera:
| Key | Description |
| ---------- | ----------------------- |
| W | Move forward |
| S | Move backward |
| A | Turn left |
| D | Turn right |
| Escape | Quit |
## Screenshots


## Textures Attributions
- `limestone.jpg` and `stone.jpg` by [kues1](https://www.freepik.com/free-photo/warm-limestone-texture_1035015.htm#query=stone%20texture&position=4&from_view=keyword&track=ais&uuid=ca5c40da-0b37-4d3b-a069-1f3b6a5be6a3) on Freepik