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

https://github.com/solidiquis/gloam

OpenGL graphics library
https://github.com/solidiquis/gloam

graphics-programming opengl rust

Last synced: 3 months ago
JSON representation

OpenGL graphics library

Awesome Lists containing this project

README

          

# GLoam

A work-in-progress OpenGL library for Rust built on top of [gl](https://docs.rs/gl/latest/gl/) and [glfw](https://docs.rs/glfw/latest/glfw/) (soon to be [winit](https://github.com/rust-windowing/winit)).

## FAQ

- Why are you doing this?
- To learn OpenGL.
- Why are you learning such an ancient and outdated technology? Have you heard of [wgpu](https://wgpu.rs/)?
- Yes and yes.
- Should I use this in production?
- Only if it's for shits and giggles; otherwise, no.
- Are you trying to compete with [glium](https://github.com/glium/glium)?
- No.
- Who is the Gloam-Eyed Queen?
- We may never know.

## Demo

**FYI**: GIF quality is pretty bad and doesn't reflect how things actually look.

### [Hello Triangle](./examples/hello_triangle/main.rs)
![missing image](./demos/hello_triangle.png)

### [Hello Textures](./examples/hello_textures/main.rs)
![missing image](./demos/hello_textures.png)

### [Hello 3D](./examples/hello_3d/main.rs)
![missing GIF](./demos/hello_3d.gif)

### [Hello Camera](./examples/hello_camera/main.rs)
![missing GIF](./demos/hello_camera.gif)

### [Hello Lighting](./examples/hello_lighting/main.rs)
![missing GIF](./demos/hello_lighting.gif)

### [Hello Phong Illumination](./examples/hello_phong_illumination/main.rs)

**Note**: Degraded video quality due to compression

https://github.com/user-attachments/assets/06233ca4-6bc1-461a-845a-79aaead1d263