Commit Graph

31 Commits

Author SHA1 Message Date
dogeFu f736b87db8 feat:add clear method for AnimationGraphPartialPreviewer (#15441)
* feat : add clearVariables method for AnimationGraphPartialPreviewer

* clear motionRecords too
2023-06-14 18:41:19 +08:00
Leslie Leigh (李的序) 2f9041d94b PoseGraph: more detailed stash visit editor API (#15401) 2023-06-13 13:53:17 +08:00
Leslie Leigh (李的序) 2dc0c0ae08 Marionette: add editor method to copy state machine as pose graph node (#15278)
* Marionette: add editor method to copy state machine as pose graph node

* Fix copy

* Fix Clone
2023-06-05 15:19:23 +08:00
Leslie Leigh (李的序) eac44e0850 Animation graph: Fix visitAnimationClips() editor API (#15197) 2023-06-05 13:34:48 +08:00
Leslie Leigh (李的序) 09586e82a9 Animation graph: fix embedded play evaluation (#15198) 2023-05-26 11:22:51 +08:00
Leslie Leigh (李的序) cfd9bddacb Pose graph: fix import path and tweak (#15173) 2023-05-24 18:42:33 +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 (李的序) c1304cd11b Add editor api to stash pose graph; Config some nodes' editor behavior (#15148) 2023-05-24 14:24:47 +08:00
Leslie Leigh (李的序) da8d1979d0 Pose graph copy paste operation (#15132) 2023-05-22 13:45:41 +08:00
Leslie Leigh (李的序) f84baf24c5 Animation graph: pose graph i18n related change (#15117) 2023-05-22 10:50:11 +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 (李的序) 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 (李的序) e5939558e1 Optimize TCBinding, implement TCStateWeightBinding, add TCStateMotionTimeBinding (#15009) 2023-05-09 15:31:12 +08:00
Leslie Leigh (李的序) 506548c2ea Animation graph custom events listening API (#14911) 2023-04-25 10:50:02 +08:00
Leslie Leigh (李的序) cc1bd1be27 Fix misc errors in marionette editor modules (#14907) 2023-04-24 18:29:01 +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 (李的序) 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
PP e01ac3ee05 add tracking issue for TODO item (#14638)
* issue 14637

* issue 14640: animation module

* issue 14642: serialize deserialize hack

* issue 7519: pal/image

* issue 14643: dynamic inject

* mark as NOTE

* issue 14644: native only

* issue 7512: pal/fs
2023-03-23 16:42:46 +08:00
PP fa51b804b5 remove and ban @ts-expect-error (#14572)
* remove ts-expect-error usage in engine

* deprecate Scheduler interface

* remove JavaScriptCore

* set some engineInternal public property as getter setter

* fix build-declaration

* fix releaseManager export name conflict

* update scriptEngineType

* fix and update some comment

* remove  w_mat, w_pos, w_rot, w_scale

* update renderer

* fix setRootBufferDirty not binding on native

* optimize floatToHashString

* mark NOTE
2023-03-20 13:48:26 +08:00
Leslie Leigh (李的序) 3200c0bd2b Animation graph: add editor api to query editor attributes of variable value (#14566) 2023-03-14 14:33:44 +08:00
Leslie Leigh (李的序) f1d54f984d Refactor animation graph evaluation (#13503)
* Refactor animation graph evaluation

* Remove debug code

* Tweak

* Comment

* Comment

* Comment

* Fix engineInternal

* Fix ui

* Add function to monitor pose leak

* Tweak

* Optimize

* Fix UI

* Remove unused code

* Fix animation blend direct

* Decouple animation clip from AGEvaluation

* Rename

* Update doc

* Refactor PagedPose

* Fix test

* Fix a clip overriding bug

* Fix meta values

* Optimize pose allocator

* Refactor pose allocator

* Additive nullish motion

* TransformFilter: Reduce Uint32 into Uint16

* Tweak

* Tweak

* __trySyncLegacyData -> _trySyncLegacyData

* for-of

* Tweak

* Tweak

* up -> outerContext

* empty -> isEmpty

* Rename setSpan -> copyRange
2023-01-04 11:59:54 +08:00
Leslie Leigh (李的序) 70d10a5645 Animation graph variant and dynamically override clips (#12445)
* Animation graph override clips

* Update

* Fix

* Fix unit test

* support animation graph variant editing (#90)

(cherry picked from commit 273379f3883b8b2d59966249e712b9017d4355ff)

* Anim graph vari template

* tweak

* Tweak

* Mark the overrideClips as experimental

* Name bikeshed

* Tweak

Co-authored-by: 黄森斌 <arsen2010@126.com>
2022-11-11 14:14:19 +08:00
Leslie Leigh (李的序) 6877ff9438 [3.7] Marionette: implements some state machine operations (#12434)
* Marionette: implements some state machine operations

* Fix

* Tweak

* Rename assign -> copyTo

* Fix
2022-10-24 15:39:43 +08:00
santy-wang a450f100d9 fix import 2022-10-11 20:39:29 +08:00
Leslie Leigh (李的序) 3dd865c39a Add functions to visit animation clips in animation graph (#12963)
* Add functions to visit animation clips in animation graph(and controller)

* Update
2022-10-09 15:47:41 +08:00
minggo 7922834c0b move cocos/core/animation to cocos/animation (#12674) 2022-09-05 14:57:37 +08:00
Leslie Leigh (李的序) aca3336745 Feat: animation graph - support absolute destination start time (#12162)
* Feat: animation graph - support absolute destination start time

* Update
2022-07-29 11:08:39 +08:00
Leslie Leigh (李的序) 46aec910fe Animation graph: fix transition destination start time preview (#11903) 2022-07-11 10:40:30 +08:00
Leslie Leigh (李的序) 1fc838e5ef Animation graph preview/variable manipulation (#11617)
* Marionette editor API: viewVariableBindings() (#84)

* Animation graph previewers (#85)

* Transition preview destination start

* Fix

* Reorganize module structure

* Tweak

* Tweak
2022-06-27 10:29:41 +08:00