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
TinyGltfImporter: Update to current HEAD and KHR_lights_punctual #77
Conversation
b15d5e8
to
5a03740
Compare
Codecov Report
@@ Coverage Diff @@
## master #77 +/- ##
==========================================
+ Coverage 91.5% 92.12% +0.62%
==========================================
Files 76 76
Lines 4600 4469 -131
==========================================
- Hits 4209 4117 -92
+ Misses 391 352 -39
Continue to review full report at Codecov.
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This was unexpectedly quick, thank you!
src/MagnumPlugins/TinyGltfImporter/Test/TinyGltfImporterTest.cpp
Outdated
Show resolved
Hide resolved
Now at: a11f6e19399f6af67d7c57909e8ce99d20beb369 Signed-off-by: Squareys <squareys@googlemail.com>
Signed-off-by: Squareys <squareys@googlemail.com>
Signed-off-by: Squareys <squareys@googlemail.com>
Signed-off-by: Squareys <squareys@googlemail.com>
Signed-off-by: Squareys <squareys@googlemail.com>
5a03740
to
6592892
Compare
Alright, updated. The defaults test was there already, I am really unsure how this passed before (looking at the diff, I didn't touch the tested file). I was able to omit the json.hpp update (which was only needed for clang with c++17). |
Ah! I see now, there's two cases -- one is with Could you expand the |
Crazy that you figured that out so quickly. I made the requested changes. |
Signed-off-by: Squareys <squareys@googlemail.com>
324b794
to
b57cdf4
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thank you!
Hi @mosra !
This was surprisingly easy, I wonder what I missed... I had to update tiny_gltf to get support for
KHR_lights_punctual
, in the process I adapted the importer to API changes there. Since the new light extension is pretty similar to the old, this was pretty straight forward.I made a minor adaption to the test, from the documentation
Linear
was the default all along and therefore I wonder why the test was checking forNearest
as the minFilter was not set in the file.Cheers,
Jonathan.