Commit Graph

187 Commits

Author SHA1 Message Date
christopher waters
dbede8cc23 AnimInstanceProxy.h dependency cleanup.
The original target was its include of AnimBlueprintGeneratedClass.h but more opportunities presented themselves.
Moved FNodeVisit and FAttributeRecord out of FAnimBlueprintDebugData so they could be forward declared.

#jira none
#rb steve.robb, thomas.sarkanen
#preflight 6269b3bef97c319bebbb7ded

[CL 19948162 by christopher waters in ue5-main branch]
2022-04-27 17:54:49 -04:00
braeden shosa
a08224d20c PoseSearch: Don't reset asset time when switching blend spaces in motion matching
#preflight 62685d9d2f53f9169a867b0a
#rb daniel.holden

[CL 19929211 by braeden shosa in ue5-main branch]
2022-04-26 17:22:41 -04:00
thomas sarkanen
572b5fc0cd Fixed crash compiling a template animation blueprint with a layered blend per bone node in it
#jira UE-146422
#preflight 625ecdca3e0f6f80adb39d51
#rb Jurre.deBaare

#ROBOMERGE-AUTHOR: thomas.sarkanen
#ROBOMERGE-SOURCE: CL 19845750 in //UE5/Release-5.0/... via CL 19846121
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v940-19807014)

[CL 19846531 by thomas sarkanen in ue5-main branch]
2022-04-21 06:46:05 -04:00
samuele rigamonti
5c829b13df Fix for LayeredBoneBlend improper handling of invalid curve weight values
[REVIEW] [at]Jose Villarroel
#preflight 624df9c3334cad33ce031e73

#ROBOMERGE-AUTHOR: samuele.rigamonti
#ROBOMERGE-SOURCE: CL 19656522 via CL 19657139 via CL 19657278
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v938-19570697)

[CL 19665914 by samuele rigamonti in ue5-main branch]
2022-04-07 04:38:07 -04:00
daniel holden
e7a99d3aaf Blend space support for Motion Matching
#rb braeden.shosa, thomas.sarkanen, timothy.daoust, aaron.cox
#jira UE-133724
#preflight 62348d933f685c2b421e9c39

[CL 19435264 by daniel holden in ue5-main branch]
2022-03-18 10:45:08 -04:00
michael noland
e132a8476e Animation: CopyPoseFromMesh and RetargetPoseFromMesh will now walk up the attach parent hierarchy to the parent mesh component when using bUseAttachedParent instead of only checking the immediate parent, which fixes issues when the owning actor is attached via, e.g., a child actor component
#jira UE-143947
#rb marc.audy
#preflight 621982be42189ae62269b48d
#lockdown julien.marchand

#ROBOMERGE-OWNER: michael.noland
#ROBOMERGE-AUTHOR: michael.noland
#ROBOMERGE-SOURCE: CL 19162668 in //UE5/Release-5.0/... via CL 19162967
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19163001 by michael noland in ue5-main branch]
2022-02-25 22:00:29 -05:00
timothy daoust
52dcf64db7 Fixed a bug where mirroring did not work correctly with some skeletons
Cherry pick with additional edits from CL18522092, CL18536881, CL18811714

#jira UE-142948
#lockdown laurent.delayan
#rb thomas.sarkanen
#preflight 620ede42c91bcd0017afa29a


#ROBOMERGE-AUTHOR: timothy.daoust
#ROBOMERGE-SOURCE: CL 19090710 via CL 19092613 via CL 19094336 via CL 19095814 via CL 19101845
#ROBOMERGE-BOT: UE5 (Release-Engine-Staging -> Main) (v921-19075845)

[CL 19141885 by timothy daoust in ue5-main branch]
2022-02-25 00:11:37 -05:00
daniel holden
12b9a1a1b1 Allowed BlendSpaceEvaluators to run with non-zero playrate so that they can generate notifies during playback.
#jira UE-130693
#rb thomas.sarkanen, jurre.debaare, timothy.daoust
#preflight 6214e672a97c2c3348cbda4c

[CL 19071787 by daniel holden in ue5-main branch]
2022-02-22 08:43:10 -05:00
jose villarroel
bdf00e88d0 Added missing exposed value handler update in FAnimNode_SequenceEvaluatorBase::Initialize_AnyThread
#jira UE-141852
[REVIEW] [at]Thomas.Sarkanen
#rnx
#preflight 6203d392174d2620c3be066f
#lockdown Laurent.Delayen

#ROBOMERGE-AUTHOR: jose.villarroel
#ROBOMERGE-SOURCE: CL 18917632 in //UE5/Release-5.0/... via CL 18926647 via CL 18928179
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v916-18915374)

[CL 18928422 by jose villarroel in ue5-main branch]
2022-02-09 19:03:10 -05:00
jose villarroel
d77791d720 Montages using inertial blends now support blend profiles
#review-18830130 @Braeden.Shosa, @Aaron.Cox
#preflight 61fad1211b119a34af5f3b89

[CL 18831082 by jose villarroel in ue5-main branch]
2022-02-02 13:59:30 -05:00
braeden shosa
0c98b61785 Added blend profile support to inertialization requests.
Shelf CL: 15427774 and 15596715 from The Coalition by David Bollo
#preflight 61f8acbbf657e25a590a7c3d
#rb john.vanderburg,thomas.sarkanen,timothy.daoust

[CL 18811714 by braeden shosa in ue5-main branch]
2022-02-01 13:38:41 -05:00
jurre debaare
838e928cde Validate Attribute bone index typing / mapping
#jira UE-132455

Animaton attribute index remapping:
- Introduced FMeshAttributeContainer which stores the attributes according to FMeshPoseIndex
- Added FinalizeAttributeEvaluationResults to SkeletalMeshComponent - which remaps the evaluated compact-pose indexed attributes to mesh-indices
- Added CopyFrom template for different bone index types
- Updated CopyPoseFromMesh
   * Added SourceBoneToTarget as attributes are mapped from source to target vs target to source for Bones
- Ensure that attributes are only inserted during evaluation if its bone index is present in the required bones
- Added testing for remapping attributes
    * Remapping between LODs with removed bones
    * Remapping between Skeletal meshes with different skeleton hierarchies

#rb Thomas.Sarkanen
#preflight 61e8067e843acf1b2428c2be

#ROBOMERGE-OWNER: jurre.debaare
#ROBOMERGE-AUTHOR: jurre.debaare
#ROBOMERGE-SOURCE: CL 18657038 in //UE5/Release-5.0/... via CL 18657062 via CL 18657063
#ROBOMERGE-BOT: UE5 (Release-Engine-Test -> Main) (v900-18638592)

[CL 18657069 by jurre debaare in ue5-main branch]
2022-01-19 07:57:49 -05:00
thomas sarkanen
d21fdd3d20 Consolidate SoA into AoS in FAnimNode_BlendListBase
Savings ~1.4 MB peak in synthetic tests

#jira UE-138731 - Investigate memory savings in anim graph nodes
#rb Jurre.deBaare

#ROBOMERGE-AUTHOR: thomas.sarkanen
#ROBOMERGE-SOURCE: CL 18595351 via CL 18595366 via CL 18595374 via CL 18595692 via CL 18595725 via CL 18595751
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Test -> Main) (v899-18417669)

[CL 18596746 by thomas sarkanen in ue5-main branch]
2022-01-13 10:12:43 -05:00
cesar castro
022b7a308f MotionMatchingFFDemo - Added option to index and play mirrorred sequences in UPoseSearchDatabase
- Mirrorring information kept only in FPoseSearchIndexAsset, no longer a feature as in the first implementation
- Mirror mismatch cost set in the database and added after feature vector cost computations, like it happens with the cost modifier notify
#rb braeden.shosa
#preflight 61d762486c000c869b2374bf

[CL 18536881 by cesar castro in ue5-main branch]
2022-01-06 17:27:03 -05:00
UnrealBot
c47e81b2cb Branch snapshot for CL 18531810
[CL 18531810 in ue5-main branch]
2022-01-06 16:44:09 +00:00
UnrealBot
2987349d36 Branch snapshot for CL 18514113
[CL 18514113 in ue5-main branch]
2022-01-05 20:41:17 +00:00
cesar castro
d6dd956f6d Updated FillMirrorBoneIndexes to take a Skeleton as a parameter. This avoids the confusion about where the reference skeleton should come from, since it doesn't work as expected when using a skeletal mesh reference skeleton.
#rb tim.daoust
#preflight 61d5e2895b6f9bf2e6a54b4b

[CL 18522092 by cesar castro in ue5-main branch]
2022-01-05 13:51:06 -05:00
thomas sarkanen
b9d0b5e6b4 Optimize tick record context data overheads
When resetting tick records each frame, a fairly large shared ptr destruction chain occured due to the final references to the various bits of context data (e.g. state machine scopes, mirror scopes) being removed.
This change switches individual shared ptrs to context data to unique ptrs, while allowing shared ownership (e.g. via the FAnimNotifyEventReference) via holding a shared ptr to the entire array.

#jira UE-130378 - Optimization pass on new UE5 anim node features
#preflight 61b35056c01c89f906e1a29b
#rb Timothy.Daoust

#ROBOMERGE-AUTHOR: thomas.sarkanen
#ROBOMERGE-SOURCE: CL 18430259 in //UE5/Release-5.0/... via CL 18435292
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18435518 by thomas sarkanen in ue5-release-engine-test branch]
2021-12-10 17:45:50 -05:00
thomas sarkanen
cbffa01d59 Remove duplicate transforms in FAnimInstanceProxy
We were holding two different copies of the component & actor transforms, now we just hold the one
Minor: also removed some pointer chasing in PreUpdate

#jira UE-130378 - Optimization pass on new UE5 anim node features
#preflight 61b324fef05b75b7610001e5

#ROBOMERGE-AUTHOR: thomas.sarkanen
#ROBOMERGE-SOURCE: CL 18429641 in //UE5/Release-5.0/... via CL 18429643
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v897-18405271)

[CL 18429646 by thomas sarkanen in ue5-release-engine-test branch]
2021-12-10 05:23:49 -05:00
koray hagen
82196cda6e #jira UE-131665
#rb aaron.cox, braeden.shosa, cesar.castro

Lyra post-mortem Pose Warping fixes and features for Stride Warping, Orientation Warping, and Sequence Evaluator:

Pose-Warping:
1. Compile-time errors for invalid bone definitions
2. Expanded SHOWDEBUG ANIMATION and ensure() logging messages for graph-driven mode
3. Interpolation state and controller fixes for both modes
4. Fixed and expanded in-game visualization

Orientation-Warping:
1. Fixed orientation angle calculation for manual mode
2. Overhauled in-game visualization

Slope Warping:
1. Marked node as Experimental for upcoming Animation Warping plugin migration from Experimental to Beta

Sequence Evaluator:
1. Removed erroneous delta time record calculation in update-phase, since this is already accounted for in the asset player tick
#preflight 61aafc58e01f3610f5521e33

#ROBOMERGE-AUTHOR: koray.hagen
#ROBOMERGE-SOURCE: CL 18376490 in //UE5/Release-5.0/... via CL 18376492
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 18376493 by koray hagen in ue5-release-engine-test branch]
2021-12-04 00:48:11 -05:00
danny chapman
d837949fa7 Fix for: Single Frame blendspace doesn't sample root motion
#rb thomas.sarkanen
#jira UE-120375
#preflight 619e4307aa4521f9e7b871dd

#ROBOMERGE-AUTHOR: danny.chapman
#ROBOMERGE-SOURCE: CL 18283189 in //UE5/Release-5.0/... via CL 18283206
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18283213 by danny chapman in ue5-release-engine-test branch]
2021-11-24 09:32:29 -05:00
thomas sarkanen
5ac0e390f5 Blend lists now only re-initialize children when weight is zero
This prevents re-initialization pops if a non-active child still has weight, and is consistent with state machines

#jira UE-96588 - GitHub 7249 : Added an option to AnimNode_BlendListByBase to Allow for Re-initialization only when active child's weight is zero
#7249
#preflight 619d1e3e974d7d57269201f0
#rb Jurre.deBaare

#ROBOMERGE-AUTHOR: thomas.sarkanen
#ROBOMERGE-SOURCE: CL 18280962 in //UE5/Release-5.0/... via CL 18280997
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v895-18170469)

[CL 18281042 by thomas sarkanen in ue5-release-engine-test branch]
2021-11-24 05:02:25 -05:00
Marc Audy
0c3be2b6ad Merge Release-Engine-Staging to Test @ CL# 18240298
[CL 18241953 by Marc Audy in ue5-release-engine-test branch]
2021-11-18 14:37:34 -05:00
timothy daoust
7892940082 Fixes for Mirror Node
- remove optimization that can introduce bugs in circumstances with identical joint counts but diferent indexes
  - added constant folding.

#rb thomas.sarkanen
#jira UE-133136
#preflight 618e9b59c83214302dd44368

#ROBOMERGE-AUTHOR: timothy.daoust
#ROBOMERGE-SOURCE: CL 18171394 in //UE5/Release-5.0/... via CL 18179777
#ROBOMERGE-BOT: STARSHIP (Release-Engine-Staging -> Release-Engine-Test) (v894-18169371)
#ROBOMERGE[STARSHIP]: UE5-Main

[CL 18179861 by timothy daoust in ue5-release-engine-test branch]
2021-11-13 12:57:14 -05:00
aurel cordonnier
fc542f6cfd Merge from Release-Engine-Staging @ 18081189 to Release-Engine-Test
This represents UE4/Main @18073326, Release-5.0 @18081140 and Dev-PerfTest @18045971

[CL 18081471 by aurel cordonnier in ue5-release-engine-test branch]
2021-11-07 23:43:01 -05:00