Commit Graph

314 Commits

Author SHA1 Message Date
troublemaker52025 20f80926b1 add Separable-SSS skin (#14948) 2023-05-11 18:24:45 +08:00
PP 0b353b6e14 feat: support general WASM module in engine (#14974)
* support pal/wasm module

pal/wasm

* support sys.Feature.WASM and WASM_SUPPORT_MODE

# Conflicts:
#	pal/system-info/web/system-info.ts

# Conflicts:
#	pal/system-info/web/system-info.ts

# Conflicts:
#	pal/system-info/web/system-info.ts

* optimize bullet module


* update physx module

update

* revert tsconfig

* optimize WebGPU wasm import

* fix native wasm instantiate

* support wasm in EDITOR and PREVIEW

* optimize variable name

* update comment

* optimize code

* Update cocos/misc/webassembly-support.ts

* add physx wasm (#11) by yiwenxue

* add physx wasm

* update physx wasm instantiate.

* update, rename, etc.

* download external in CI

* fix physX wasm init

* move out external wasm type

* update external-config.json

* expand node max-old-space-size

* use console.debug

---------

Co-authored-by: Yiwen <15225434259xue@gmail.com>
2023-05-08 18:02:17 +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 (李的序) 4a183b14c0 Fix exception in material uniform animation binding (#14764) 2023-04-28 09:22:37 +08:00
minggo a22d16bbe6 Merge branch 'v3.7.3' into merge_v3.7.3 2023-04-24 11:26:58 +08:00
黄森斌 c2323e2160 update layers bitmask and enum (#14573)
* update layers bitmask and enum

* Layers.BitMask update

* modify testClass name
2023-04-19 20:40:12 +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 (李的序) 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
Leslie Leigh (李的序) 06f382db95 Fix @property(PrimitiveType) (#14781) 2023-04-17 15:35:53 +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
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
santy-wang 0a81bf445e Merge branch 'develop' of github.com:cocos-creator/engine into v3.7.2 2023-03-13 16:51:47 +08:00
李吉林 9538714d1b add moveTowards & rotateTowards (#14543) 2023-03-13 10:00:39 +08:00
Leslie Leigh (李的序) 273117b455 Fix interruption matching on state exit condition (#14519)
* AnimationGraph: fix interruption matching

* Doc

* Tweak
2023-03-09 11:45:52 +08:00
Leslie Leigh (李的序) c9151ed4e0 Add some animation graph test utils (#14515) 2023-03-09 10:50:19 +08:00
Leslie Leigh (李的序) 9693532283 Suppress test logs (#14514) 2023-03-08 18:37:11 +08:00
Leslie Leigh (李的序) 68e59893fb Fix AnimationComponent.addClip (#14440) 2023-03-02 16:31:29 +08:00
Leslie Leigh (李的序) 646b88b509 Add internal utility function createInstanceofProxy() (#14352)
* Add internal utility function createInstanceofProxy()
2023-03-02 16:26:07 +08:00
Yiwen 633f738b07 Math tune (#14419)
* fix math lib & add unit test
2023-03-02 14:34:53 +08:00
jk20012001 28e216f3d1 treat color.ToVec4 FromVec4 as linear color (#14433) 2023-03-02 11:05:13 +08:00
zhakesi 6e052808e0 add unit test for tween destroySelf (#14391) 2023-02-28 10:08:06 +08:00
李吉林 04e9f5e593 fix ts math library (#14385)
* fix ts math library
2023-02-27 16:59:08 +08:00
jk20012001 df3a28ffe1 create material uses surface shader as default, fix auto-test crash and large image load failed (#14227) 2023-02-16 10:22:29 +08:00
jk20012001 86b86ca873 rearrange effects folder (#14202)
* rearrange effects folder

* fix
2023-02-14 10:10:17 +08:00
pandamicro 89a7f644cf Merge branch 'v3.7.2' into develop
# Conflicts:
#	cocos/core/global-exports.ts
#	cocos/core/math/quat.ts
#	native/cocos/cocos-version.h
#	package.json
2023-02-13 18:00:41 +08:00
Leslie Leigh (李的序) 9ca6ff4915 Add internal utility function renameObjectProperty() (#14142)
* Add internal utility function renameObjectProperty()
2023-02-09 15:15:29 +08:00
李吉林 bdffc36ed7 fix mat4 getRotation (#14183) 2023-02-09 14:24:20 +08:00
minggo 32c08e73f9 merge container-manager.ts and scalable-container.ts (#14107)
* merge `container-manager.ts` and `scalable-container.ts`
* rename `ContainerManager` to `ScalableContainerManager`
* rename `containerManager` to `scalableContainerManager`
2023-02-01 14:12:46 +08:00
Leslie Leigh (李的序) 1264775db5 AnimationGraph: fix interruption between circular transitions (#14080)
* Add unit test for interruption between circular transitions

* Fix interruption between circular transitions
2023-02-01 11:49:41 +08:00
PP 3a9d9a547f fix: decorated property without default value (#14016)
* fix: decorated property without default value

* update

* update

* update  test

* Update tests/core/decorator.test.ts

Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com>

* Update tests/core/decorator.test.ts

Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com>

* Update tests/core/decorator.test.ts

Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com>

* Update tests/core/decorator.test.ts

Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com>

* close warning

Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com>
2023-01-06 18:47:53 +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
pandamicro 8eb177b53d Merge remote-tracking branch 'cocos-for-editor/v3.7.0' into develop
# Conflicts:
#	README.md
#	pal/audio/minigame/player-minigame.ts
2022-12-30 19:30:21 +08:00
minggo 0af8b0677b fix wrong logic of murmurhash2_32_gc (#13926) 2022-12-27 18:25:47 +08:00
minggo 4b108dba16 fix unit test error (#13895) 2022-12-23 16:45:18 +08:00
minggo 5f6a2bff97 improve api doc for core/algorithm (#13868) 2022-12-21 16:41:01 +08:00
江战 f6854cd16e native introduce jsb.window (#13816) 2022-12-16 13:50:59 +08:00
minggo b81585d53b improve readability (#13818)
* improve readability
2022-12-15 09:42:27 +08:00
minggo 03b5d4c3fd Merge branch 'v3.6.3' into merge-v3.6.3 2022-12-08 15:46:09 +08:00
bofeng-song 19b63ca762 move lod to 3d module (#13704)
* move lod to 3d module
2022-12-07 14:09:54 +08:00
zxx43 b6feebb035 modify unit test (#13669) 2022-12-06 11:08:35 +08:00
Ling Zhan 650713c0b8 [feat] new polygon partition algorithm: Hertel Mehlhorn #13190 (#13585)
* [feat] new polygon partition algorithm: Hertel Mehlhorn #13190

* eslint

* remove the option to change algorithm

* tweaks

* add unit tests

* tweaks

* eslint
2022-12-02 16:12:17 +08:00
Zeqiang Li 73a55c71e8 flatten shader location (#13586) 2022-11-30 17:26:11 +08:00
Leslie Leigh (李的序) 6f9b229d6e Implement Vec3.slerp to support spherical interpolation between directional vectors (#12682)
* Implements Vec3.slerp

* Optimize

* Fix
2022-11-23 20:21:28 +08:00
Ling Zhan 3a0df15c31 [feat] in physics settings, default material is set through file (#13464)
* [feat] in physics settings, default material is set through file
2022-11-23 10:23:28 +08:00
Leslie Leigh (李的序) 8be402e236 Fix zero extent animation state playback range (#13456) 2022-11-21 17:11:46 +08:00
hyde zhou 92f2d08f52 [develop] update layout graph loading (#13368) 2022-11-18 13:43:18 +08:00
Leslie Leigh (李的序) 5829f391a3 Add a general used internal algorithm: array partition (#13381)
* Algorithm: array partition
2022-11-16 15:04:14 +08:00
Leslie Leigh (李的序) 0521d1e566 Add a test to test how clip overriding affect the set of animated node (#13375) 2022-11-15 10:42:18 +08:00