Commit Graph

6260 Commits

Author SHA1 Message Date
徐兵 03f451aadb fix planar reflection update submodel macro patches (#15316) 2023-06-05 15:47:16 +08:00
troublemaker52025 b5cb733047 performance optimization for onMacroPatchesStateChanged function (#15279) 2023-06-02 19:00:10 +08:00
徐兵 a841f82aab add setMaterialProperty function for skyboxInfo (#15284) 2023-06-02 16:54:06 +08:00
qiuguohua 343393942c Fix harmonyos platform compilation failure. (#15262) 2023-06-02 14:55:55 +08:00
Ling Zhan 0c2d34099d [fix] physx Character Controller filter bug (#15291) 2023-06-02 14:47:00 +08:00
Cocos Robot 0d1f5d0286 [ci skip][AUTO]: Automated code generating update: 16753619b7d3149f44431f870d588e1acc870aa3 (#15281) (#15294)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-06-02 14:03:12 +08:00
江战 63fe38fe30 reset delegate value when cleanup scriptengine (#15281) 2023-06-02 13:45:09 +08:00
江战 175d8a4c7e change the return type of submodel.passes to shared_ptr (#15267) 2023-06-01 14:05:03 +08:00
bofeng-song a8eb030f90 fix install failed with android studio (#15251) 2023-06-01 13:40:11 +08:00
hyde zhou 43b4cb30f2 develop pipeline add subpass (#15166)
pr-test is not ready, skip it.
2023-06-01 10:39:20 +08:00
mmyduckx 453992f61c fix possible android websocket crash (#15210) 2023-05-31 10:45:27 +08:00
SijieWang 820128d09a Merge pull request #15175 from cocos/marionette-next
Pose Graph
2023-05-25 11:45:53 +08:00
Santy-Wang 51afef29b4 remove repliated and client load (#13521) 2023-05-25 11:40:41 +08:00
Yiwen 44b1616fb0 native external updates tag to develop-23 (#15172) 2023-05-24 18:46:44 +08:00
hyde zhou 9e00d512ae render pipeline add subpass (#15141) 2023-05-24 14:27:28 +08:00
Santy-Wang d3a9b5a8b8 gradient misc optimization and add some helpful function (#15032)
* gradient misc optimization and add some helpful function

* keep old version and add new interface

* missing .

* mark as engineInternal
2023-05-24 13:59:29 +08:00
mmyduckx e2f86928f6 fix android videoplayer player again cannot work (#15118) 2023-05-24 10:29:32 +08:00
hyde zhou 8a7586c925 [develop pipeline] add resolve (#15121) 2023-05-23 10:11:44 +08:00
Yiwen 486b36319d [fix] physics constraint abnormal behavior and update external config to develop-22 (#15126) 2023-05-22 10:52:23 +08:00
Leslie Leigh 4dc852f61e Merge remote-tracking branch 'upstream/develop' into marionette-next 2023-05-19 19:56:41 +08:00
Yiwen 5330e7ee5a Configurable constraint (#14778)
* add support to configurable constraint

* add missing files

* update packages

* fix PhysX bugs,update error info

* fix exports, deserialization.

* just stage

* Revert "just stage"

This reverts commit 41dc157afec00bfeb077b12e64c45a951ab1f894.

* fix problems

* improve perf

* tweak

* fix merge errors

* update errormap
2023-05-19 11:28:09 +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
Cocos Robot c8934efd9a [ci skip][AUTO]: Automated code generating update: 464342eb99 (#15101) (#15102)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-05-19 09:31:18 +08:00
Yiwen 78c87a09d2 add new features to 3d hinge constraint (#14447)
* add new features to 3d hinge constraint
1. angular limit
2. angular drive

* add missing file

* fix native and bullet parameter error, tune parameters

* clean code

* update package and package lock

* stage

* update

* fix interface

* fix api, improve perf

* fix unit conversion

* fix unit conversion

* sync physx behavior
2023-05-18 16:36:23 +08:00
hyde zhou 34a5022096 develop pipeline interface change (#15083) 2023-05-18 13:00:23 +08:00
Ling Zhan 1032bd9508 Sweep Test (#15068)
* init

# Conflicts:
#	cocos/physics/physx/physx-adapter.ts

# Conflicts:
#	cocos/physics/physx/physx-adapter.ts

* init sweepBoxClosest

# Conflicts:
#	cocos/physics/physx/physx-world.ts

* back

* physx boxCastClosest works now.

* add physx sweepAll

* init bullet sweepBoxClosest. not test yet

* add bullet sweepBox

* bullet add internal functions: sweep/sweepClosest

* init physx c++ sweepBox/sweepBoxClosest

* add sweepSphere, sweepCapsule; add unit test.

* add sweep api doc

* revert physx asm/wasm loading func

* tweaks

* add error log for builtin and cannon.js

* builtin and cannon.js use warnid when calling sweep

* tweak api doc
2023-05-17 18:37:03 +08:00
zhakesi 49f92e3225 fix spine with a mask effect not work (#15052) 2023-05-17 16:17:06 +08:00
jk20012001 4c2bed1c76 update shader code and i18n (#15060) 2023-05-17 16:14:42 +08:00
Zach Lee 43f835b7bd fix: vb ib indirect should be shared. (#15062) 2023-05-17 15:44:53 +08:00
Yiwen 96c4927a28 add support to change connected body for joint component (#14609)
* complete implement of joint.setConnectedBody

* fix c++ joint issues

* clean code
2023-05-17 15:24:39 +08:00
Yiwen 923278904a Fix hinge constraint rotation (#14085)
* Fix hinge constraint rotation

1. fixed hinge constraint rotation
2. correct docs
3. add tooltip for hinge constraint

* stage

* updates

* update

* vanishing pivotB when connected to world frame

* stage

* update fixed constraint behavior when bind to world frame
2023-05-17 15:23:35 +08:00
江战 6f758de0c2 Update jsb_conversions.h (#15082) 2023-05-17 13:37:30 +08:00
hyde zhou 1fd59ceea9 develop pipeline fix missing uniform array size manual registration (#15071) 2023-05-17 10:07:37 +08:00
James Chen 0adc9e6cbf Disable some swig warnings. (#15076)
* Disable some swig warnings.

* Add warning reference
2023-05-17 09:51:09 +08:00
Yiwen e2f9a91d89 update native external version tag (#15072) 2023-05-16 17:02:46 +08:00
mmyduckx 16244590d4 fix mac screen change view not resize bug (#15046)
* fix mac screen change view not resize bug
2023-05-16 16:25:26 +08:00
hyde zhou ae5d25924e Develop pipeline (#15030) 2023-05-16 13:03:28 +08:00
Ling Zhan 9cd5212d18 Character Controller (#14848)
* back.boxCCT works now. capsuleCCT not collider correctly

* refactor

* cct 事件系统初步可用。todo 碰撞filter

* init cct group and mask

* queryFilterCB

* this the first working version

* tweaks

* init bullet character controller. todo: events, autoStep bug, maxSlope bug

* bullet cct onShapehit

* physx native works now. todo: BoxCharacterController

* add physx-native BoxCharacterController

* cct filters redundant events

* cct velocity

* cct detectCollision not working

* cct detectCollisions works in physx

* Character controller supports setDetectCollisions: collision detection without calling move()

* cct center

* bt.CharacterController_setContactOffset,CharacterController_setStepOffset,CharacterController_setSlopeLimit

* bullet cct collision event use last shoot

* tweaks

* cct doc

* fix bullet box-cct hit callback

* add cct export

* feat cct setOverlapRecovery

* cct delete useless code in native physics

* tweaks: cct remove useless code

* fix cct bullet group mask: update group and mask by re-adding cct to physics world. not tested

* tweaks

* tweaks

* fix bullet-cct not emit collision: add bullet updateNeedEmitCCTEvents

* tweaks

* fix cct supports enable/disable

* add cct imp null check

* cct not to expose detectCollisions and OverlapRecovery at this moment

* physx/bullet cct支持节点缩放.todo: bullet cct(setRadius/Height)还有bug 无法运行时改变,只能在初始化的时候设定。physx c++待支持。

* c++ physx cct supports node scale

* fix cct physics c++ forgets to remove cct from scene when destroyed

* [fix] physx cct set climbing mode to PxCapsuleClimbingMode.eCONSTRAINED

* add cct unit test and multiple tweaks

* multiple tweaks and add cct center for physx c++

* tweak

* tweaks

* tweaks

* external version: develop-20

* tweaks
2023-05-16 10:03:13 +08:00
hyde zhou 64f3eb2c13 avoid evaluating copy constructor of non-arithmetic type (#15056) 2023-05-15 18:51:35 +08:00
troublemaker52025 e77453d9f3 fix main-light macro definition not updated in certain cases (#15038) 2023-05-12 15:41:22 +08:00
江战 976b13adf7 fix pass property binding (#15031) 2023-05-12 10:39:32 +08:00
troublemaker52025 20f80926b1 add Separable-SSS skin (#14948) 2023-05-11 18:24:45 +08:00
James Chen 13d3087d9a fixed #14351: The auto-binding code for RenderEntity::STATIC_DRAW_INFO_CAPACITY is wrong (#15024)
* Update native/external-config.json, update swig.

* Update editor_support.i, don't bind unneeded classes.

* Update render-scene/scene/index.jsb.ts, add missing class variables.
2023-05-11 15:55:33 +08:00
徐兵 0a207a54fd fix update instance attribute failed under multipass for native engine (#15007) 2023-05-10 17:59:00 +08:00
hyde zhou 6cbad38241 pipeline changes after v3.7.3 (#14998) 2023-05-10 17:46: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
Cocos Robot 046f5fa715 [ci skip][AUTO]: Automated code generating update: 10076c56da3446eb0efc04f2c4b88e15a0af41d1 (#14997) (#15000)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-05-08 17:58:02 +08:00
qiuguohua e706ca3c2f 1、Fix the audio switch to the background can not play the problem (#14997)
2、Fix the white screen displayed at startup
3、Fix the webview crashing when switching scenes
2023-05-08 17:43:13 +08:00
pandamicro 247d44cfd2 Merge pull request #14993 from pandamicro/develop
Merge v3.7.3
2023-05-08 16:02:44 +08:00
Jiujiang Liu 821041de28 support light probe sphere volume control (#14906)
* support light probe sphere volume control
2023-05-08 13:43:02 +08:00