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

https://github.com/kevinw/odin-playground

trying odin (https://odin.handmade.network/) for gamedev
https://github.com/kevinw/odin-playground

game-development odin

Last synced: about 1 month ago
JSON representation

trying odin (https://odin.handmade.network/) for gamedev

Awesome Lists containing this project

README

        

# odin-playground

Gamedev experiments in [Odin](https://odin.handmade.network/).

See also [odin-notes.md](odin-notes.md).

### Prerequisites

* [Odin](https://odin.handmade.network/)
* [odin-gl](https://github.com/vassvik/odin-gl) installed to your Odin "shared" library collection
* [odin-glfw](https://github.com/vassvik/odin-glfw) installed to your Odin "shared" library collection

For more Odin libraries check out [this page](https://github.com/odin-lang/odin-libs).

## [triangle](triangle/triangle.odin)

![A red triangle](docs/screenshots/triangle.png)

Getting setup with GLFW, loading shaders, and drawing a triangle. Starting from translating [this tutorial](http://www.opengl-tutorial.org/beginners-tutorials/tutorial-2-the-first-triangle/).

## [matrices](matrices/matrices.odin)

![A red triangle seen from a different perspective](docs/screenshots/matrices.png)

Adds model, view, and perspective matrices.

## [cube](cube/cube.odin)

![A colored cube seen from a perspective camera](docs/screenshots/cube.png)

Drawing a cube with vertex colors.

## [textured_cube](textured_cube/textured_cube.odin)

![A textured cube with backwards numbers](docs/screenshots/textured_cube.png)

New prerequisite: [stb_image](https://github.com/vassvik/odin-stb/blob/master/stbi/stb_image.odin).

Loading an image with `stb_image` and drawing a textured cube.

## [input](input/input.odin)

![A poorly-culled cube from a perspective camera](docs/screenshots/input.png)

Flying around with WASD and the mouse.

## [raymarching](raymarching/raymarching.odin)

![A displaced raymarched sphere](docs/screenshots/raymarching.png)

A fullscreen raymarched sphere with displacement.

## [vulkan_triangle](vulkan_triangle/vulkan_triangle.odin)

![A red, blue, and green triangle rendered with Vulkan](docs/screenshots/vulkan_triangle.png)

## [vulkan_buffers](vulkan_buffers/vulkan_buffers.odin)

![A rotating square rendered with Vulkan](docs/screenshots/vulkan_buffers.png)