Commit graph

977 commits

Author SHA1 Message Date
kasenvr
3a665c6eac
Merge pull request #773 from ctrlaltdavid/fix/gltf-crash
Fix handling of missing glTF blendshape target meshes
2020-10-13 05:25:43 -04:00
David Rowe
6b7b1c5040 Fix handling of missing glTF blendshape target meshes 2020-10-02 16:23:00 +13:00
Dale Glass
8761b26079 Remove unused variable 2020-09-26 23:01:05 +02:00
David Rowe
84cb3b2515 Fix pick rays not intersecting glTF models 2020-09-10 08:58:35 +12:00
David Rowe
9fc9b203ae Rename constant 2020-09-02 12:45:44 +12:00
David Rowe
22e6ae9710 Fix hasBlendedMeshes() value 2020-08-31 21:44:19 +12:00
David Rowe
bd1be872a8 Support using blendshapes in file without needing an FST 2020-08-31 21:31:55 +12:00
David Rowe
0fcc73d5cd Fix multiple blendshapes targeted to one model blendshape 2020-08-31 11:20:56 +12:00
David Rowe
5d02e0fe28 Fix blendshapes on planar meshes 2020-08-29 16:12:10 +12:00
David Rowe
128745ef36 Make blendshapes work for glTF with multiple mesh parts 2020-08-29 16:11:35 +12:00
David Rowe
a819b140dc Don't weight blendshapes by default blendshape values 2020-08-29 14:17:54 +12:00
David Rowe
f946791791 Make blendshaps work for glTF with single mesh part 2020-08-29 14:17:13 +12:00
David Rowe
77dbe7a254 Rename FACESHIFT_BLENDSHAPES to BLENDSHAPE_NAMES 2020-08-29 11:21:56 +12:00
David Rowe
e0767e2f8c Add HFM model dump for FBX files 2020-08-29 11:02:54 +12:00
David Rowe
98cef38aea Initial tidying 2020-08-29 09:14:49 +12:00
kasenvr
65d1a88a0c
Merge pull request #545 from ctrlaltdavid/fix/fbx-single-color
Fix display of FBX models with only one color for vertices
2020-07-23 17:27:12 -04:00
David Rowe
335bc7b4db Fix display of FBX models with only one color for vertices 2020-07-17 20:17:08 +12:00
Kasen IO
4b1e82fc0b Move user agent to networking constants. 2020-07-08 14:18:24 -04:00
Kasen IO
fe0109aa13 Fix crash for indices out of bounds in GLTF.
Co-Authored-By: hifiexperiments <hifiexperiments@users.noreply.github.com>
2020-07-02 23:52:26 -04:00
Kasen IO
71fec167ec Prevent a crash for corrupted GLTF models.
Co-Authored-By: hifiexperiments <hifiexperiments@users.noreply.github.com>
2020-06-23 20:52:48 -04:00
kasenvr
103fd8eef2
Merge branch 'master' into fix/revert-instancing-temporarily-1 2020-06-03 22:44:32 -04:00
HifiExperiments
ade6bf24bb fix issues with glb urls 2020-06-03 15:19:54 -07:00
Kasen IO
21fd10d154 Revert commit 359248829c using -m 1 to temporarily fix issue 383. 2020-06-03 16:08:18 -04:00
HifiExperiments
69714a89ca material entities support cullFaceMode and support gltf doubleSided 2019-11-26 14:48:48 -08:00
HifiExperiments
5371fd613a properly implement alphaModes 2019-11-22 00:41:32 -08:00
Sabrina Shanman
579eb04df9
Merge pull request #16491 from sabrina-shanman/instancing
Fix code style / remove cruft
2019-11-13 12:53:10 -08:00
sabrina-shanman
516debdcb2 Fix code style / remove cruft 2019-11-13 12:50:13 -08:00
sabrina-shanman
f39121c53b Fix build error/warning 2019-11-12 09:52:58 -08:00
sabrina-shanman
2169952613 Remove unused mesh.part.materialID 2019-11-11 17:52:16 -08:00
Sabrina Shanman
eebb9ad51f
Merge pull request #16475 from highfidelity/master
Merge master into instancing
2019-11-08 10:10:50 -08:00
Anthony J. Thibault
821a46697a Update fixUpLegacyBlendshapes as well 2019-11-04 10:55:05 -08:00
sabrina-shanman
df4ca90d49 Remove unused cluster fields from hfm 2019-11-01 10:47:10 -07:00
Sabrina Shanman
05ac16536e
Merge pull request #16436 from highfidelity/master
Merge master into instancing
2019-10-31 17:39:15 -07:00
sabrina-shanman
ecdca05679 Do not apply geometric offset to loaded FBX. Proper fix TBD 2019-10-30 14:28:55 -07:00
sabrina-shanman
9b41fa20c6 Clean up hfm joint geometric offset definition 2019-10-30 14:08:02 -07:00
sabrina-shanman
0d1bd6afbf Fix wrong transformForCluster for non-root joints with Z up axis 2019-10-30 13:32:30 -07:00
sabrina-shanman
296cd4a47b Rename globalTransformForCluster(s) -> transformForCluster(s) 2019-10-30 12:05:50 -07:00
sabrina-shanman
c8bf1ddfea Only recalculate globalTransformForCluster if needed 2019-10-30 12:01:25 -07:00
sabrina-shanman
61825f2e06 Remove joint.transform self-assignment 2019-10-30 11:50:10 -07:00
sabrina-shanman
ff908a36d6 Define separately globalTransformForCluster and localTransformForCluster for clarity 2019-10-30 11:49:28 -07:00
sabrina-shanman
fe1fe6aa83 Fix build warnings 2019-10-30 09:09:17 -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
28e3fd4bc4 Refactor joint transform definition 2019-10-29 17:37:25 -07:00
sabrina-shanman
27b30a9646 Move hfm debug dump to hfm::Model 2019-10-29 16:49:55 -07:00
sabrina-shanman
8686dcac13 Remove FBXSerializer debug 2019-10-29 11:26:19 -07:00
sabrina-shanman
a70f0f2791 (WIP, has debug) Fix FBXSerializer applying geometric transform inconsistently, let HFM prep calculate FBX extents 2019-10-29 10:47:27 -07:00
sabrina-shanman
f8017d28ff Separate cluster-related transform from joint.globalTransform 2019-10-29 09:20:17 -07:00
sabrina-shanman
d961c4a892 Use safeMaterialID in FBXSerializer_Mesh.cpp 2019-10-28 15:32:45 -07:00
sabrina-shanman
993aa06301 Let hfm prep calculate OBJ model extents 2019-10-28 13:05:27 -07:00
sabrina-shanman
9fd76cac84 Fix FBX UpAxis transform not being applied to skinned models 2019-10-28 11:50:53 -07:00