-
Notifications
You must be signed in to change notification settings - Fork 34
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Updating tinygltfloader #16
Comments
Super cool! Yeah, supporting glTF 2.0, PBR material and skin are TODO list, but I couldn't spare enough time for it these days. |
Hi, It's almost done. I'll open the PR soon, then don't hesitate to take a good look as it includes a lot of changes. Side note: for our use, we also added serialization functions in tinygltfloader. It still needs to be updated with the latest glTF 2.0 updates, but I wonder if it would make sense to include it in this project ? |
Thanks!
This initialization idiom is for suppressing a clang warning: https://stackoverflow.com/questions/15708411/how-to-deal-with-global-constructor-warning-in-clang But if you encounter a runtime error with this technique, we can suppress clang warning by adding clang pragma explicitly.
Serialization feature is cool and would be better to include into this project(I have writer example https://github.com/syoyo/tinygltfloader/tree/master/examples/writer as you may know). |
I have created tinygltf repo https://github.com/syoyo/tinygltf So new version will be moved to this repo. |
Please send PR to https://github.com/syoyo/tinygltf , @AurL |
Ok cool, thanks a lot for your answers! |
Revert to use `staic Value null_value` expression since `static Value null_value = *(new Value())` results in runtime inconsistency in ld.so(#16)
FYI, I have reverted to use We cannot remove |
@syoyo thanks! Could you report it on tinygltf ? or should I cherry-pick it and include it in my PR on tinygltf ? |
The PR is opened here, you can take a look when you have time. |
Awesome! I'll review it!
Hmm... which compiler/os/glibc do you use? |
I tested with this commit and in a first time, I had a link issue. The static field needed to be declared after the classe. I'm surprised to be the only one having this issue. |
Inconsitency detected error may be due to mixing precompiled another .so's or looking different libc/ld.so on your system: If you still encounter the problem, please post reproducable source code and make script |
Hi,
Just a few words here to let you know that we are working on this project and have add a few updates (skin support, animation, PBR materials, and writing function (maybe out of the scope)).
We are currently working on updating it to handle glTF 2.0 files including the breaking changes that are being pushed:
etc.
We will probably push a PR here if you are interested
The text was updated successfully, but these errors were encountered: