Closed suncore closed 1 year ago
Hi! I downloaded your project and I think I found the reason, Raylib only accepts a binary form of gltf models with a file extengion .glb
. The wikipedia article links this page for possible converters, you will need to convert your gltf file to glb and then everything will work.
Also note that in main.nim
the file path to a shader does not exist so everything is dark currently.
Thank you for your detailed and helpful response! :-)
Hi! I'm getting a segmentation fault when trying to load a .gltf model. I uploaded my little project here: https://drive.google.com/drive/folders/1YaZDWm_5ZVnaf78jPEhaDrI76ZazCMLL?usp=sharing
It is a modified version of one of the examples so this needs to live beside the examples so it can get files from the resources folder.
This is the output: