🎉 Celebrating 25 Years of GameDev.net! 🎉

Not many can claim 25 years on the Internet! Join us in celebrating this milestone. Learn more about our history, and thank you for being a part of our community!

glTF files

Started by
4 comments, last by taby 1 year, 2 months ago

I have a glTF file at: https://github.com/sjhalayka/vulkan_shadow_mapping/blob/main/fractal.gltf

When I view it using an online viewer (https://gltf-viewer.donmccurdy.com/)|, it looks fine:

However, when I load it using the sample code (https://github.com/SaschaWillems/Vulkan/tree/master/examples/shadowmappingomni), it ends up all messed up:

Any guesses as to why the model gets mangled?

Advertisement

The ray traced shadows demo is also broken. So, it leads me to believe that the glTF lib is busted?

This works: https://github.com/CesiumGS/obj2gltf

view with 3D Viewer, no problem

fractal

I'm still not sure why the mesh is so messed up in some apps. I ended up converting it from STL to glTF using Blender. Works just fine.

This topic is closed to new replies.

Advertisement