Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/zadockmaloba/zig-raylib-test
An example (WIP) of how to use raylib with zig
https://github.com/zadockmaloba/zig-raylib-test
Last synced: 8 days ago
JSON representation
An example (WIP) of how to use raylib with zig
- Host: GitHub
- URL: https://github.com/zadockmaloba/zig-raylib-test
- Owner: zadockmaloba
- Created: 2024-08-08T19:33:38.000Z (3 months ago)
- Default Branch: master
- Last Pushed: 2024-08-22T09:51:45.000Z (3 months ago)
- Last Synced: 2024-08-22T13:19:04.212Z (3 months ago)
- Language: Zig
- Size: 3.27 MB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# ZIG-RAYLIB-TEST
## Requiremnts
* Zig - 0.13.0
``
cd ./zig-raylib-test/ &&
zig build run
``## Purpose
* The main purpose of this repo is to finally load VTK files via opengl
* I'm using raylib since it will abstract most of the complexities## Objectives
- [x] Link with raylib
- [ ] Link with raylib using zig dependecies
- [x] Create basic window
- [x] Render basic 2D shapes with raylib (Circle, Triangle, Rectangle)
- [ ] Render basic 3D objects with raylib (Cube)
- [ ] Render complex 3D objects with raylib (Cone, Sphere, Donut)
- [ ] Develop basic camera controls (e.g., orbit, zoom, pan) for interacting with 3D models.
- [x] Implement functionality to load VTK files.
- [ ] Parse the VTK file format to extract vertex, edge, and polygon data.
- [ ] Write and integrate vertex and fragment shaders for rendering the VTK data.
- [ ] Implement basic lighting and shading.
- [ ] Use OpenGL to render the parsed VTK data in the raylib window.
- [ ] Create a simple UI for file loading, camera control, and rendering options.
- [ ] Use raylib's GUI components or integrate a minimal UI library.
- [ ] Optimize VTK loading and rendering performance.
- [ ] Implement frustum culling or level of detail (LOD) techniques.