https://github.com/tsoding/kidito
Actual 3D graphics in OpenGL
https://github.com/tsoding/kidito
Last synced: 8 months ago
JSON representation
Actual 3D graphics in OpenGL
- Host: GitHub
- URL: https://github.com/tsoding/kidito
- Owner: tsoding
- License: mit
- Created: 2021-03-05T10:47:28.000Z (almost 5 years ago)
- Default Branch: master
- Last Pushed: 2021-03-09T13:09:50.000Z (almost 5 years ago)
- Last Synced: 2023-10-20T23:33:26.998Z (about 2 years ago)
- Language: C
- Size: 384 KB
- Stars: 12
- Watchers: 4
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Kidito
## Quick Start
```console
$ make
$ ./kidito
```
## [scene.conf](./scene.conf)
| Key | Description |
|---------------|-----------------------------------|
| `frag_shader` | path to the fragment shader |
| `vert_shader` | path to the vertex shader |
| `texture` | path to the image for the texture |
## Controls
| Shortcut | Description |
|-----------------------------------|--------------------------------------------------------------------------------------|
| F5 | Hot-reload [./scene.conf](./scene.conf) and all of the associated with it resources. |
| SPACE | Pause/unpause the time uniform variable in shaders |
| ← / → | Manually step in time back and forth in the paused mode. |
## Objectives
- [x] Generate cube mesh
- [x] Render the cube mesh with perspective projection
- [x] Texture the cube
- [x] Fog
- [x] Simple lighting (the classical one with normals and stuff)