Commit Graph

137 Commits

Author SHA1 Message Date
Leslie Leigh (李的序) 2091f4617a Marionette/StateMachine: fix any state won't match proc pose states (#15381) 2023-06-08 17:46:09 +08:00
Leslie Leigh (李的序) da23e6ae16 Refactor animation graph event dispatching mechanism (#15330)
* Refactor animation graph event mechanism

* Fix test

* Update

* Revert
2023-06-07 18:33:26 +08:00
Leslie Leigh (李的序) 41704deb74 Marionette/Stash: fix error if reenter() the stash but updated in later (#15337)
* Marionette/Stash: fix error if reenter() the stash but updated in later

* Optimize stash evaluate state
2023-06-07 11:43:38 +08:00
Leslie Leigh (李的序) 82e29f7ae5 Marionette/StateMachine: fix state motion time binding (#15308) 2023-06-05 11:54:09 +08:00
Leslie Leigh (李的序) 100167485d Marionette/PoseGraph: allow specify start time for PoseNodePlayMotion (#15306) 2023-06-05 10:05:32 +08:00
Leslie Leigh (李的序) b9964895c6 Marionette: adjust additive animation rule (#15296)
* Marionette: adjust additive animation rule

* Rename base -> ref

* Importer UI
2023-06-02 15:36:12 +08:00
Leslie Leigh (李的序) f9f379df1e Marionette/PoseGraph: fix that a pose node can be connected multi times (#15231) 2023-06-02 10:36:04 +08:00
Leslie Leigh (李的序) e86f70523b Marionette/PoseGraph: add node input option arraySyncGroupFollower (#15226) 2023-05-30 14:56:55 +08:00
Leslie Leigh (李的序) aa20a47678 Marionette: add ratio input to PoseNodeAdditivelyBlend; add tests (#15223) 2023-05-30 13:32:42 +08:00
Leslie Leigh (李的序) 09586e82a9 Animation graph: fix embedded play evaluation (#15198) 2023-05-26 11:22:51 +08:00
Leslie Leigh (李的序) 24541a82de Rename term "pose state" -> "procedural pose state" (#15171) 2023-05-24 18:42:09 +08:00
Leslie Leigh (李的序) 75e07f86a0 Pose graph: add motion playing and sampling node (#15143)
* Add PlayMotionNode, SampleMotionNode

* Fix
2023-05-24 17:33:09 +08:00
Leslie Leigh (李的序) cee74cba32 Pose graph: add variable getting nodes (#15151)
* Pose graph: add variable getting nodes

* Fix unit test
2023-05-24 14:48:02 +08:00
Leslie Leigh (李的序) 8b3d59d02c Pose graph: add pose modifying nodes (#15144)
* Add pose modifying nodes

* Update

* i18n
2023-05-23 15:21:54 +08:00
Leslie Leigh (李的序) 31d3e9206c Pose graph: add state machine node (#15145)
* Pose graph: add state machine node

* Import

* Add i18n
2023-05-23 15:01:36 +08:00
Leslie Leigh (李的序) cf4d799a4d Pose graph: add blending pose nodes (#15142)
* Add blending nodes and choosing nodes

* i18n
2023-05-23 14:31:46 +08:00
Leslie Leigh (李的序) 9ce1a56cb9 Animation graph: pose graph stash (#15050)
* Implement pose graph stash

* Update cocos/animation/marionette/pose-graph/stash/runtime-stash.ts

* Update cocos/animation/marionette/pose-graph/stash/runtime-stash.ts

* Rename

* Update
2023-05-23 13:00:18 +08:00
Leslie Leigh (李的序) ec2b401c73 Handle space conversion during pose graph evaluation, introduce base pose node class to modify pose (#15108)
* Process space conversion during pose graph evaluation

* Add comment
2023-05-23 12:01:31 +08:00
Leslie Leigh (李的序) 64dcd43354 Fix poseGraphOp.disconnectNode unexpected behavior (#15134) 2023-05-22 18:22:15 +08:00
Leslie Leigh (李的序) 4b2fb0baba Event binding (#15133) 2023-05-22 15:34:42 +08:00
Leslie Leigh (李的序) f84baf24c5 Animation graph: pose graph i18n related change (#15117) 2023-05-22 10:50:11 +08:00
pandamicro 12fe7525f9 Merge pull request #15113 from cocos/develop
Merge remote-tracking branch 'upstream/develop' into marionette-next
2023-05-19 10:42:41 +08:00
Leslie Leigh (李的序) 018d4d68aa Animation: implement Transform.invert() (#15105) 2023-05-18 17:23:24 +08:00
Leslie Leigh (李的序) a7a16a625b Animation: lint and tweak (#15104) 2023-05-18 16:14:07 +08:00
Leslie Leigh 464342eb99 Merge remote-tracking branch 'upstream/develop' into marionette-next 2023-05-18 14:46:30 +08:00
Leslie Leigh (李的序) 17cb4796f1 Animation graph: optimize some evaluation structures (#15049)
* Optimize some evaluation structure

* Update cocos/animation/marionette/state-machine/state-machine-eval.ts
2023-05-18 13:55:00 +08:00
Leslie Leigh (李的序) 038f386bec Lint rule: prefer interface style type definition (#15020)
* Lint rule: prefer interface style type definition

* Adapt lint

* Fix lint style
2023-05-18 13:37:54 +08:00
Leslie Leigh (李的序) 4bcd1795f2 Marionette: add test in case of states of transition yielding nullish (#14733) 2023-05-18 11:03:24 +08:00
minggo 3a6e0ca2ba Merge pull request #15067 from cocos/develop
Merge develop into marionette-next
2023-05-17 14:06:57 +08:00
Leslie Leigh (李的序) 859140bf96 Reverse the arguments meaning of Transform.multiply (#15084) 2023-05-17 14:01:18 +08:00
Leslie Leigh (李的序) 11220129d7 Animation graph: experimentally support more types of variable (#14815)
* Animation graph: add experimental more types of variable

* Tweak
2023-05-12 14:38:25 +08:00
Leslie Leigh (李的序) 4304c05745 Complementarily implement pose graph (#14952)
* Implement pose graph

* Add test for query output node's input/outputs

* Fix isWellFormedInputKey()

* Tweak

* Use `Map` instead of `shellTag`

* Rename XNode -> PureValueNode

* Rename node input manager and node input options
2023-05-12 13:45:55 +08:00
Leslie Leigh (李的序) b119ee5bcf Optimize warn message if state machine matched too many transitions in a frame (#15016) 2023-05-10 14:22:31 +08:00
Leslie Leigh (李的序) b8816590ae Animation graph: state machine adjustment (#14990)
* Animation graph: state machine adjustment

* Remove useless code; export factory interfaces

* Add test

* Update
2023-05-08 19:28:31 +08:00
pandamicro 71a11a7a14 Merge remote-tracking branch 'origin/v3.7.3' into develop
# Conflicts:
#	.github/workflows/run_test_cases.yml
#	cocos/rendering/planar-shadow-queue.ts
#	native/cocos/renderer/pipeline/PlanarShadowQueue.cpp
2023-05-08 11:55:56 +08:00
Leslie Leigh (李的序) 368e4b732f Remove duplicated test (#14975) 2023-05-05 18:52:51 +08:00
Leslie Leigh (李的序) 4a183b14c0 Fix exception in material uniform animation binding (#14764) 2023-04-28 09:22:37 +08:00
Santy-Wang cb852e6dbc Merge pull request #14927 from cocos/develop
Sync develop into marionette-next
2023-04-26 15:48:15 +08:00
Leslie Leigh (李的序) 506548c2ea Animation graph custom events listening API (#14911) 2023-04-25 10:50:02 +08:00
minggo a22d16bbe6 Merge branch 'v3.7.3' into merge_v3.7.3 2023-04-24 11:26:58 +08:00
Leslie Leigh (李的序) b12db9f12a Support more binary condition binding source (#14857)
* Binary condition

* Update

* Fix test & i18n
2023-04-23 15:11:56 +08:00
Leslie Leigh (李的序) 988e385e8e Animation graph: move code (#14819) 2023-04-18 15:26:01 +08:00
Leslie Leigh dbfbc9fe6b Merge remote-tracking branch 'upstream/develop' into marionette-next 2023-04-18 14:20:42 +08:00
Leslie Leigh (李的序) d76a8ae2da Improve animation graph test utils; prune Marionette files (#14541)
* Improve animation graph test utils; prune Marionette files

* Rm
2023-04-18 11:14:45 +08:00
Leslie Leigh (李的序) 8e7255a9ee Introduce pose graph, pose node and pose state (#14779)
* Introduce pose graph, pose node and pose state

* Optimize for-of

* Rename

* Doc

* Rename pose allocator -> pose stack allocator
2023-04-17 17:38:43 +08:00
Leslie Leigh (李的序) be5e2edfde Introduce auxiliary curve (#14659)
* Introduce auxiliary curve

* Rename meta value -> auxiliary curve

* Refactor auxiliary curve authoring api
2023-04-17 16:08:19 +08:00
zhakesi 42b704c4e1 fix set skinningRoot (#14755) 2023-04-14 18:48:29 +08:00
Leslie Leigh (李的序) eb8be7e5bb Animation blend: add algorithm "freeform directional" (#14203)
* Animation blend: add algorithm "freeform directional"

* Update comment

* Fix
2023-04-03 13:34:53 +08:00
Leslie Leigh (李的序) 84ce668d2a Fix animation clip exotic animation split error (#14695) 2023-03-31 13:56:40 +08:00
santy-wang 0a81bf445e Merge branch 'develop' of github.com:cocos-creator/engine into v3.7.2 2023-03-13 16:51:47 +08:00