An open API service indexing awesome lists of open source software.

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

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)