Lubosz Sarnecki
676de4b75b
interface+libraries+tools: Capture this explicitly in lambda copy capture.
...
Since C++20 it is deprecated to implicitly capture this with [=] lambda
copy expressions.
See: https://en.cppreference.com/w/cpp/language/lambda#Lambda_capture
This patch replaces these occurances with [this] where only this is
required and [=, this] where more scope is required.
In case only this and another variable is required in the scope I chose
to use that variable explicitly in favor of =.
This fixes the GCC14 warning: implicit capture of ‘this’ via ‘[=]’ is deprecated in C++20 [-Wdeprecated].
2024-08-03 18:59:15 +02:00
HifiExperiments
8f27a4bf2b
support VRMC_materials_mtoon and KHR_materials_unlit
2024-04-14 16:23:45 -07:00
Dale Glass
cd132246e6
Fix crash with models from ReadyPlayerMe by adding extra validation.
...
This also adds test code for the GLTF loader.
2022-11-26 14:36:37 +01:00
HifiExperiments
20e0c24163
cleanup + create
2021-01-02 00:04:24 -08:00
David Rowe
e0767e2f8c
Add HFM model dump for FBX files
2020-08-29 11:02:54 +12:00
Dale Glass
9f25891639
Increase maximum texture size to 8192
2020-07-03 23:43:18 +02:00
Kasen IO
21fd10d154
Revert commit 359248829c
using -m 1 to temporarily fix issue 383.
2020-06-03 16:08:18 -04:00
HifiExperiments
5371fd613a
properly implement alphaModes
2019-11-22 00:41:32 -08:00
sabrina-shanman
2169952613
Remove unused mesh.part.materialID
2019-11-11 17:52:16 -08:00
Sam Gateau
7af0940846
getting coision to work
2019-11-05 10:57:54 -08:00
sabrina-shanman
27643023a3
Make shape extent calculations use slim mesh extents, and rename task to CalculateTransformedExtentsTask
2019-11-05 10:57:54 -08:00
sabrina-shanman
c3af8b5da7
Remove unused cluster fields from hfm
2019-11-05 10:57:54 -08:00
sabrina-shanman
ba257634f2
Introduce extents for TriangleListMesh and calculate them
2019-11-05 10:57:54 -08:00
sabrina-shanman
297ce9d88b
Remove debug
2019-10-31 13:47:00 -07:00
sabrina-shanman
023d73a25d
Finish TriangleListMesh generation, rename some things
2019-10-31 13:47:00 -07:00
sabrina-shanman
7d37a064f2
Fix crash
2019-10-31 13:46:53 -07:00
Sam Gateau
e9ce467eb9
Crahs because of ?
2019-10-31 13:04:11 -07:00
Sam Gateau
465e8c3e18
Prototyping the slim mesh generation
2019-10-31 12:58:15 -07:00
Sam Gateau
24e6a966a8
Keep exploring
2019-10-31 12:58:08 -07:00
Sam Gateau
927e08acdb
Explore the simple mesh pure pos triangle list idea
2019-10-31 12:57:29 -07:00
sabrina-shanman
4ecd25c8bb
Add TODO for joint.geometricOffset
2019-10-30 14:32:36 -07:00
sabrina-shanman
9b41fa20c6
Clean up hfm joint geometric offset definition
2019-10-30 14:08:02 -07:00
sabrina-shanman
3c078eeef6
It makes more sense for joint.globalTransform to have the hfmModel.offset applied
2019-10-29 17:37:26 -07:00
sabrina-shanman
27b30a9646
Move hfm debug dump to hfm::Model
2019-10-29 16:49:55 -07:00
Sabrina Shanman
6db993fe05
Merge pull request #16397 from sabrina-shanman/instancing_skinning
...
(DEV-561) First pass at skinning for GLTF
2019-10-23 15:41:12 -07:00
sabrina-shanman
ad6720240f
Introduce hfm::Mesh.clusterWeightsPerVertex
2019-10-18 11:30:48 -07:00
Sam Gateau
0321e2c2c3
Merge branch 'instancing' of github.com:highfidelity/hifi into instancing
2019-10-18 10:22:20 -07:00
sabrina-shanman
be9931bcab
Move skinning reweighting code out of model prep to hfm library; use in FBXSerializer.
2019-10-18 10:08:45 -07:00
Sam Gateau
695b9cdba6
Clening up left over comments and typos, simplify the code to update Matrices in the model classes and removed renderITemsIdMap because not needed, chasing the problem of the physics objects transform
2019-10-18 03:31:06 -07:00
sabrina-shanman
acbdd2b3b5
Fix not building due to removed shape.transform
2019-10-16 17:04:19 -07:00
sabrina-shanman
0c3e81f52f
Merge branch 'instancing' of github.com:highfidelity/hifi into instancing_gltf
2019-10-16 14:03:01 -07:00
Sam Gateau
eecaeb1155
FOund the issue why the skinning was incorrect, removed unecessary data structures in the newly added objects and renamed Deformer to SkinCluster and DYnamicTransform to SkinDeformer
2019-10-16 04:02:05 -07:00
Sam Gateau
8a1f3648f9
fooling around to get the cluster working
2019-10-11 18:06:44 -07:00
Sam Gateau
a995f2c09f
in the middle of something
2019-10-10 17:09:54 -07:00
sabrina-shanman
8e69905e0e
Merge branch 'instancing' of github.com:highfidelity/hifi into instancing_gltf
2019-10-10 16:16:37 -07:00
sabrina-shanman
726a91cdb9
Fix un-transformed vertex being added to extents instead of transformed one
2019-10-09 17:32:27 -07:00
sabrina-shanman
09f584818b
Add extent calculation utilities, CalculateExtentsTask, make tangent
...
calculation more lenient
2019-10-07 16:38:01 -07:00
Sam Gateau
521ce3936b
I changed names! Renaming the Geometry to NetworkModel, the GeometryResource to ModelResource, i think there is no need for the 2, only one would be enough in my opinion...
2019-10-07 15:19:23 -07:00
sabrina-shanman
30680e027b
Merge branch 'instancing' of github.com:highfidelity/hifi into instancing_gltf
2019-10-03 16:49:31 -07:00
sabrina-shanman
4a8cdee38a
Update HFM format and deprecate hfm::TransformNode
2019-10-03 14:30:03 -07:00
sabrina-shanman
bac22c69c1
Move ExtractedMesh out of HFM
2019-10-02 15:47:39 -07:00
Brad Davis
56f01cb7bd
Merge remote-tracking branch 'upstream/instancing' into instancing
2019-09-25 16:27:22 -07:00
sabrina-shanman
af460d7f5f
Add hfm::Shape::transformedExtents. Mark select hfm fields as
...
deprecated.
2019-09-25 16:11:48 -07:00
Brad Davis
af205c7f1e
Merge remote-tracking branch 'upstream/instancing' into instancing
2019-09-24 12:03:42 -07:00
Brad Davis
c4a1fe9a00
Warnings
2019-09-24 11:05:33 -07:00
sabrina-shanman
725d4ee643
Fix build warnings
2019-09-24 10:57:16 -07:00
Brad Davis
85b22be68b
Fixing warnings
2019-09-23 16:42:34 -07:00
Brad Davis
5edb312346
gltf wip
2019-09-23 10:22:13 -07:00
sabrina-shanman
99386565b0
Fix build warnings/errors
2019-09-19 11:15:38 -07:00
sabrina-shanman
cf8e584ced
Make the cluster jointIndex unsigned
2019-09-18 15:11:12 -07:00