Closed NickRussell95 closed 3 years ago
Hey Nick, thanks for the report. This new iteration isn't ready for prime time, but support for iOS and macOS is planned. I'll take a look at this issue and try to resolve it expeditiously. In the meantime, I've pushed a couple of commits that shore up iOS support, including a demo app that shows GLTFKit2-SceneKit interoperability.
This immediate crash should be resolved with a706dd0. The Model I/O interop is not well-tested, so there may be additional fallout once you take this patch. Feel free to file additional issues as they arise. Thanks again for the report.
Wow, thanks for such a quick response Warren. I have pulled that and can confirm it is no longer crashing. I will continue my testing and post any other issues I encounter. GLTFKit v1 was already great, so I look forward to seeing where you take this.
PS. Thanks for all your contributions to the Metal community - metalbyexample has been a great learning resource for me.
I have been using your previous GLTFKit library in an ARKit app on iOS, and it has been working great! I just found this updated version and I'm interested in trying it out.
However, it is unclear if this is designed to work on iOS or only macOS. I noticed this PR: https://github.com/warrenm/GLTFKit2/pull/7 which claims to add iOS support by using UIImage over NSImage. I've pulled that PR locally and am running into another issue when I try to load a GLB file:
Details: