Commit Graph

6314 Commits

Author SHA1 Message Date
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
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
江战 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 308816f4a9 fix native pipeline instancing implementation (#15647) 2023-07-07 16:06:24 +08:00
James Chen 73776a0993 Update external to v3.8.0-14 (#15635) 2023-07-07 10:53:23 +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
hyde zhou 35f64816f3 V3.8.0 pipeline api document (#15529) 2023-06-29 12:35:28 +08:00
江战 5f71d04aac Filp the y-axis value for stick (#15570) 2023-06-28 18:21:29 +08:00
Ling Zhan 3afeca4d15 update native/external version v3.8.0-11 (#15546) 2023-06-27 10:41:20 +08:00
James Chen f9dd8bcbc4 Fix spine.wasm could not run in safari with iOS which version is lower than 15. (#15515)
* Fix spine.wasm could not run in safari with iOS which version is lower than 15.

* Update external config.

* Revert "fix: add WASM_FALLBACK for spine wasm module (#15511)"

This reverts commit e5dde7f37d.
2023-06-25 10:37:04 +08:00
PP e5dde7f37d fix: add WASM_FALLBACK for spine wasm module (#15511)
* fix: add WASM_FALLBACK for spine wasm module

* update external

* fix eslint
2023-06-21 16:51:16 +08:00
troublemaker52025 34e6f8900a fix csm ubo data in custom pipeline (#15502) 2023-06-21 11:46:20 +08:00
Ling Zhan b1214a5327 [fix] math Quaternion::fromMat3 (#15491)
* [fix] native math Quaternion::fromMat3 and Mat3::fromViewUp
2023-06-21 09:33:14 +08:00
Zeqiang Li bc60d5a9d8 avoid unexpected glslang behavior (#15488) 2023-06-20 21:28:37 +08:00
zhakesi 9c58507850 fix jsb root function destroyModel named removeModel (#15497) 2023-06-20 19:17:56 +08:00
troublemaker52025 d4e10bc27c [bug] fix wild pointers (#15489)
* [bug] fix wild pointers
2023-06-20 15:57:20 +08:00
Yiwen 68e9918834 [fix] physics hinge transform (#15442)
* [fix] add boundary to avoid physx assert error (#15321)

* fix native physics transform problem
2023-06-20 14:12:41 +08:00
mmyduckx 868209872c fix ios keyboard switch bug when use numberic (#15486) 2023-06-20 14:11:21 +08:00
hyde zhou 69668e5f0b 'Custom' and 'Forward' pipeline is defaulted to PostProcessBuilder (#15466) 2023-06-20 10:56:09 +08:00
pandamicro 2b8d4cd2d7 Update external-config.json for new spine lib (#15483) 2023-06-19 23:33:11 +08:00
zhakesi 84f69f52f0 add spine wasm c++ code (#15482)
* add spine wasm c++ code

* fix code style
2023-06-19 23:04:31 +08:00
Cocos Robot 00dabbef60 [ci skip][AUTO]: Automated code generating update: 9781724f14b84955bf9a0c1b4073b36d18e26921 (#15467) (#15476)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-06-19 15:18:56 +08:00
troublemaker52025 98d9bf87d9 add skin JSB binding (#15464) 2023-06-19 15:16:50 +08:00
徐兵 7776fab6df fix toon outline thickness issue with vulkan (#15458) 2023-06-19 14:27:06 +08:00
PP 31f7fb6508 optimize: load spine asm.js module with js.mem && update spine (#15469)
* optimize: load spine asm.js module with js.mem

* update spine (#12)

* support debug renderer

* fix cached mode update color

* enable Batch mode

* fix engineInternal

* fix ESLint

---------

Co-authored-by: zhakesi <zhakesi@foxmail.com>
2023-06-19 11:34:28 +08:00
ChiaNing bf7874a9f4 fix android label shadow Pollution (#15470) 2023-06-18 19:31:26 +08:00
Cocos Robot 272b780891 [ci skip][AUTO]: Automated code generating update: dc2f864b2199db766b73b41910fd1f64035b6b38 (#15452) (#15463)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-06-16 17:57:50 +08:00
hyde zhou e06bb6cdb4 [V3.8.0 pipeline] add deferred pipeline (#15452) 2023-06-16 17:35:18 +08:00
hyde zhou 820826939d V3.8.0 pipeline (#15428) 2023-06-16 09:56:57 +08:00
qiuguohua bca35b2636 Update Harmonyos third-party library. (#15429) 2023-06-14 11:33:15 +08:00
troublemaker52025 997491be8f fix csm with custom pipeline (#15409) 2023-06-12 17:52:11 +08:00
troublemaker52025 aedc32acf6 Adding project macro definitions to the native engine (#15399) 2023-06-09 16:41:52 +08:00
hyde zhou c26c5b75ca V3.8.0 pipeline (#15398) 2023-06-09 16:10:56 +08:00
zhakesi 8534fbbfdb spine wasm version (#15309)
* spine wasm version -fix conflict

* fix build and ci test -fix conflict

* fix for code review

* support binary format

* update exernal lib

* revert license

* fix type any

* update api docs

* fix api docs
2023-06-09 15:50:32 +08:00
江战 719c756656 revert a6684b1 (#15393) 2023-06-08 22:48:53 +08:00
江战 8c41446e96 Add Android GPG keyboard & Mouse support (#15385)
* Add Android GPG keyboard & mouse support
2023-06-08 21:42:45 +08:00
MoHai 7de5a7a5c7 fix: adjust ar background binded texture sampler to fix limit on AREngine on GLES3 (#15389) 2023-06-08 20:03:46 +08:00
Zach Lee ea32f09213 Using the Vulkan backend is prohibited on Android devices running versions below Android 8 (APILevel <= 27). (#15386) 2023-06-08 19:56:26 +08:00
hyde zhou 119d787796 V3.8.0 pipeline (#15383) 2023-06-08 18:47:41 +08:00
hyde zhou a541d35bfd Develop pipeline merge (#15374) 2023-06-08 16:31:51 +08:00
Cocos Robot a92f8b6570 [ci skip][AUTO]: Automated code generating update: c1485f4500e501c56632ec8d4f1fd1efea0c3202 (#15265) (#15362)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-06-08 13:44:41 +08:00
Yiwen c2c3ffe73a Update external tag (#15361)
* [fix] add boundary to avoid physx assert error (#15321)

* sync external tag
2023-06-07 22:45:09 +08:00
Jiujiang Liu 3898cf3d47 fix getUniform API bug (#15333)
Co-authored-by: James Chen <dumganhar@gmail.com>
2023-06-07 15:24:35 +08:00
Jiujiang Liu 78bb2d3e79 [Bug] Fix native scene can't get UUID bug (#15347) 2023-06-07 15:15:02 +08:00