{"repo":"kooparse/zgltf","free":true,"listed":false,"github":"https://github.com/kooparse/zgltf","clone":"git clone https://github.com/kooparse/zgltf.git","description":"A glTF parser for Zig codebase.","language":"Zig","stars":93,"topics":["gamedev","gltf","parser","zig"],"license":"MIT","category":"game-templates","readme_excerpt":"glTF parser for Zig codebase This project is a glTF 2.0 parser written in Zig, aiming to replace the use of some C/C++ libraries. All glTF types are fully documented, so it comes nicely with IDE autocompletion, reducing back and forth with the specification. This library intends to mimic the glTF file structure in memory. Thereby it's designed around arrays and indexes instead of pointers as you may see in cgltf or other libraries. Also, it's the user's responsibility to load glTF files and their related binaries in memory. Note: It's not as complete as the glTF specification yet, but because it's straightforward to add new parsed fields, we'll get new stuff incrementally and on-demand. If you would like to contribute, don't hesitate! :) Note: The main branch is for the latest Zig release (0.15.1). Examples Also you could easily load data from an Accessor with getDataFromBufferView : Also, there is an iterator method that helps you pull data from accessors: Install Note: Zig 0.15.1 is required. Features - [x] glTF 2.0 json file - [x] Scenes - [x] Nodes - [x] Buffers/BufferViews - [x] Meshes - [x] Images - [x] Materials - [x] Animations - [x] Skins - [x] Cameras - [x] Parse glb files - [ ] Morth targets - [ ] Extras data - [ ] glTF writer Also, we supports some glTF extensions: - [x] khr lights punctual - [x] khr materials emissive strength - [x] khr materials ior - [x] khr materials transmission - [x] khr materials volume - [x] khr materials dispersion Contributing to the pro","default_branch":null,"files":null,"tree":[],"storefront":"/r/kooparse","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/kooparse/zgltf/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}