Commit Graph

20686 Commits

Author SHA1 Message Date
hyde zhou 1aed1fe8b7 fix effect.bin serialization (#15690) 2023-07-12 12:27:32 +08:00
troublemaker52025 50d9179bbe Optimize effect dependency and package size (#15650) 2023-07-12 11:42:17 +08:00
GengineJS 4b62d5d813 [Remove] Remove the discard check of the managed resource (#15685) 2023-07-12 10:45:43 +08:00
Santy-Wang b318b39eb9 Revert "remove useless code (#15682)" (#15683)
This reverts commit 9f035047c7.
2023-07-11 20:50:41 +08:00
Santy-Wang 9f035047c7 remove useless code (#15682) 2023-07-11 20:42:46 +08:00
Santy-Wang e5d61cf2a2 fix problem when skin changed and slot texture changed (#15677)
* fix problem when skin changed and slot texture changed

* update external version
2023-07-11 18:27:47 +08:00
Santy-Wang 31b10ffdc5 update external version (#15675) 2023-07-11 14:27:39 +08:00
Canvas 399e8a1d54 Fix the enumeration order of event types in Wasm (native) and TypeScript interfaces. (#15664)
* Fix the issue of aligning the enumeration order of event types in Wasm (native) and TypeScript interfaces.

* optimize EventType_Complete order.

* fix mapping bindings.
2023-07-10 14:38:25 +08:00
Canvas 89cd677200 fix spine STRING_STD2SP function Uncaught RuntimeError: memory access out of bounds. (#15663)
Co-authored-by: Santy-Wang <wh19930829@qq.com>
2023-07-10 14:14:10 +08:00
江战 4b6f482b60 fix CI vulkan-sdk CDN? issue, run vcpkg when choco fails (#15667) 2023-07-10 13:41:34 +08:00
Santy-Wang fedcfd295e export getAttachments (#15661)
* export getAttachments

* export getAttachments and other interface

* change string to const string&
2023-07-10 12:34:33 +08:00
Canvas aa9b4520c3 fix spine animation does not render in cache mode when total time is 0. (#15662)
* fix spine animation does not render in cache mode when total time is 0.

* fix code format.
2023-07-10 11:02:19 +08:00
江战 9aaee8c8f7 Update external-config.json (#15649) 2023-07-07 16:56:53 +08:00
Canvas 8ed2ed5786 Spine v3.8.0 Fix missing interface bindings (#15618)
* Fix spine replacement skin and animation bone rendering data not refreshed.

# Conflicts:
#	cocos/animation/marionette/graph-eval.ts
#	cocos/physics/framework/components/constraints/hinge-constraint.ts
#	cocos/rendering/custom/pipeline.ts
#	cocos/rendering/custom/private.ts
#	cocos/rendering/custom/render-graph.ts
#	cocos/rendering/post-process/passes/forward-pass.ts
#	cocos/rendering/post-process/passes/forward-transparency-pass.ts
#	cocos/rendering/post-process/passes/index.ts
#	cocos/rendering/post-process/passes/tone-mapping-pass.ts
#	cocos/rendering/post-process/post-process-builder.ts
#	editor/assets/effects/advanced/leaf.effect
#	editor/i18n/en/animation.js
#	editor/i18n/en/localization.js
#	editor/i18n/zh/animation.js
#	editor/i18n/zh/localization.js
#	editor/inspector/assets/fbx/model.js
#	native/cocos/renderer/pipeline/custom/NativeExecutor.cpp
#	native/cocos/renderer/pipeline/custom/NativePipeline.cpp
#	native/cocos/renderer/pipeline/custom/NativePipelineTypes.h
#	native/cocos/renderer/pipeline/custom/NativeRenderGraph.cpp
#	native/cocos/renderer/pipeline/custom/RenderInterfaceTypes.h

* Add bone & IkConstraintData & IkConstraint & PathConstraintData & PathConstraint setter bindings.

* Add TrackEntry & AnimationState & Animation setter bindings.

* Fix the problem that SkeletonData removal skin  and animation are not removed on editor.

* fix the problem of skeleton animation delete refresh.

* add Skeleton getState interface.

* optimize the requestDrawData parameter name & fix get texture by textureID.

* add getAttachments

* Add slots and atlas mapping hash.

* optimize atlas hash code.

* parsing atlas from native layer.

* rollback to remove the skeleton component of forced refresh.

* revert some change

* optimize get atlas page index & fix multi-posting texture cache mode does not display.

* fix extra space.

---------

Co-authored-by: zxx43 <zxx43@hotmail.com>
Co-authored-by: santy-wang <wh19930829@qq.com>
2023-07-07 16:28:28 +08:00
hyde zhou 99faec005f remove TextDecoder (#15648) 2023-07-07 16:24:43 +08:00
hyde zhou 308816f4a9 fix native pipeline instancing implementation (#15647) 2023-07-07 16:06:24 +08:00
jk20012001 9169f73ba3 fix shader compilation error (#15646) 2023-07-07 12:45:14 +08:00
jk20012001 14c1237a3d fix leaf scattering code (#15645) 2023-07-07 12:22:32 +08:00
ChiaNing 8d235204de add renderRoot2d help (#15644) 2023-07-07 12:01:58 +08:00
James Chen 73776a0993 Update external to v3.8.0-14 (#15635) 2023-07-07 10:53:23 +08:00
Santy-Wang 1f45c86e4d fix spine artifact in editor (#15640) 2023-07-07 10:50:54 +08:00
changhua 7b5bec1241 optimize the text when fbx do not exist lod (#15643) 2023-07-07 10:29:13 +08:00
ChiaNing acd8e96cd3 fix spine cache mode bug when no animation (#15637) 2023-07-06 20:43:49 +08:00
troublemaker52025 9421ab1165 fix csm instancedBuffer large primitives count for custom-pipeline (#15636) 2023-07-06 18:56:06 +08:00
徐兵 38906003bf fix crash on color grading with GLES (#15634) 2023-07-06 18:28:32 +08:00
bofeng-song 777c855ef2 Fix the problem that the sound cannot be stopped after calling minigamePlayer.stop on the Alipay platform. (#15633)
* fix audio can not be stopped while call MiniGamePlayer's stop
2023-07-06 15:42:13 +08:00
PP 649e81a7b2 optimize: ensure wasm module ready before importing (#15631)
* optimize: ensure wasm module ready before importing

* Update @types/pal/minigame.d.ts

* Update pal/wasm/wasm-minigame.ts

* use reject instead of warnning

* optimize: add promiseToLoadWasmModule

* add shouldUseWasmModule method to simplify code

* fix: subpackage loading on taobao minigame platform

* Update pal/wasm/wasm-minigame.ts
2023-07-06 15:34:31 +08:00
Ling Zhan 08d9a34457 character controller api tweaks (#15621)
* character controller api tweaks

* tweak
2023-07-05 15:28:18 +08:00
yinkaile 937f80abfe fix shadow issue for camera use post process with custom pipeline (#15620) 2023-07-05 14:33:31 +08:00
bofeng-song 85db1c3d7c alipay: the accessSync interface needs to check if it is successful. (#15616) 2023-07-05 11:02:37 +08:00
Santy-Wang da0374bb1a fix performance degradation when redefine the property of renderer's prototype (#15615) 2023-07-05 10:24:37 +08:00
jk20012001 798e340352 optimize shader code size for include (#15614) 2023-07-05 10:01:12 +08:00
Leslie Leigh (李的序) e035b2398c Animation controller component help (#15609) 2023-07-04 11:48:40 +08:00
jk20012001 ba0d1319b0 fix skin diffuse with forward lighting (#15605) 2023-07-03 18:10:06 +08:00
ChiaNing 7f201a0ca3 fix label Precision (#15594) 2023-07-03 17:40:14 +08:00
ChiaNing e468e9970c Fix widget bug in the editor when scale is not 1 (#15602)
* Fix widget bug in the editor when scale is not 1

* fix scale to 0

* change to approx
2023-07-03 15:22:57 +08:00
Santy-Wang e653f6f953 Update external-config.json (#15598)
update spine wasm
2023-07-02 22:00:23 +08:00
Canvas 6d0c1d340e Fix spine replacement skin and animation bone rendering data not refreshed. (#15597) 2023-07-02 20:16:27 +08:00
zhakesi a1fa17e466 fix some bugs in spine webassembly (#15569)
* fix blend enum export

* fix convert string from ts to sp string

* update skeleton data in preload

* feature: support change slot texture web

* feature: spine change slot texture native

* fix set debug render in native

* fix some spine asset with no mesh data

* fix some interfaces

* fix change slot repeat to create middleware textures

* fix code style

* update external config
2023-06-30 15:05:16 +08:00
jk20012001 a585edc8b5 add help for post-process components (#15589) 2023-06-30 12:47:25 +08:00
Ling Zhan 7be278d464 Revert "[fix] refactor physics2d contact listener (#14026)" (#15564)
* Revert "[fix] refactor physics2d contact listener (#14026)"

* tweaks
2023-06-30 11:33:56 +08:00
Ling Zhan 051368ec3a [fix] box2d shape aabb calculating bug (#15565) 2023-06-30 11:27:47 +08:00
even 3347d1bd3c fix inspector document link address (#15521) 2023-06-30 10:23:08 +08:00
黄森斌 6acdd0ae95 inspector interface: reserve tab style of group; support new section style; (#15586)
* reserve tab style of group; support new section style;

* add mesh-renderer section group style
2023-06-30 09:20:00 +08:00
ChiaNing 8e5ea9342c fix label limit canvas size bug (#15514)
* fix label limit canvas size bug

* limit recursion time

* fix

* fix

* move

* change

* change

* name change
2023-06-29 18:58:04 +08:00
jk20012001 b104d25922 add tooltips for bloom hbao and lut (#15579) 2023-06-29 15:12:21 +08:00
AFeiYA b43f08679d update migrated meta files (#15581) 2023-06-29 15:11:18 +08:00
hyde zhou 3b9855069a fix dependency on camera component (#15577)
* fix dependency on camera component

* fix problem caused by removed deprecation
2023-06-29 14:03:58 +08:00
hyde zhou 35f64816f3 V3.8.0 pipeline api document (#15529) 2023-06-29 12:35:28 +08:00
黄森斌 eaab2cae0b optimize ui-prop group interface in inspector (#15542) 2023-06-29 11:00:21 +08:00