Commit Graph

6 Commits

Author SHA1 Message Date
halfdan ingvarsson
70de324805 Templatized FBoneWeight into TBoneWeight that can sit on top of an arbitrary array-like container.
Register new SkinWeights mesh descriptor attribute that combines weights and influence in a single attribute, that proxies TBoneWeight to allow setting bone weights in one shot with normalization, culling, etc.
Deprecated and removed InfluenceBones and InfluenceWeights and updated the calling code to use the new attribute.

#jira UE-93689
#rb Alexis.Matte
#rnx

[CL 15516471 by halfdan ingvarsson in ue5-main branch]
2021-02-24 13:31:48 -04:00
halfdan ingvarsson
7eda00912e Change FBoneWeight::MaxRawWeight to a constexpr function to satisfy Mac linkage issues.
#trivial
#rnx

[CL 15068830 by halfdan ingvarsson in ue5-main branch]
2021-01-13 13:14:44 -04:00
halfdan ingvarsson
940d1131b3 Templataize FBoneWeights so that it can be used on any dynamically sizeable container.
#rb none
#jira none
#rnx

[CL 15067624 by halfdan ingvarsson in ue5-main branch]
2021-01-13 11:54:11 -04:00
halfdan ingvarsson
331db0f7b4 Fix duplicate check to be separate checks. Added a test for it.
#jira none
#rb none
#rnx

[CL 14145714 by halfdan ingvarsson in ue5-main branch]
2020-08-19 14:06:31 -04:00
halfdan ingvarsson
fc97705f40 Build fix for Linux -- lambda argument shadows member variable.
#jira none
#rb none
#rnx

[CL 14132771 by halfdan ingvarsson in ue5-main branch]
2020-08-18 11:44:42 -04:00
halfdan ingvarsson
f09be305a8 New container to store per-vertex bone weights. Takes care of normalization, blending, capping weight counts, etc. while being lightweight and fast.
#jira UE-93689
#rb Alexis.Matte

[CL 14132466 by halfdan ingvarsson in ue5-main branch]
2020-08-18 11:16:00 -04:00