Commit Graph

6226 Commits

Author SHA1 Message Date
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
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
James Chen b4613bd1d9 Fix typo and remove unused private variables in Engine.h/.cpp (#14992) 2023-05-08 11:38:45 +08:00
troublemaker52025 64e4289ce9 Add planar-shadow pass to the built-in effects for enable instancing (#14958) 2023-05-08 11:16:34 +08:00
mmyduckx 67341c0866 fix simulator restart bug (#14962)
* fix simulator restart bug

* fix close simulator crash due to se destroy
2023-05-08 10:23:55 +08:00
qiuguohua 9be4bb5ae3 OpenHarmony platform moves the 'copyTextToClipboard' interface from the 'SystemWindow' class to the 'System' class (#14972) 2023-05-06 09:48:42 +08:00
James Chen d8eb37df33 Fix Release build missing -fvisiblity=hidden flag since new gradle version (7+) uses RelWithDebInfo BUILD type for android now. (#14976) 2023-05-06 09:17:01 +08:00
李吉林 5ead7c61de delete batching (#14957)
* delete batching
2023-05-04 12:46:12 +08:00
James Chen 614a8b0579 Revert "Bugfix: fix nodeProto.setSiblingIndex (#14943)" (#14955)
This reverts commit 96e32ca969.
2023-05-04 11:35:12 +08:00
江战 96e32ca969 Bugfix: fix nodeProto.setSiblingIndex (#14943) 2023-05-04 10:00:28 +08:00
troublemaker52025 450a1c433a fix planar shadow missing with instancing (#14941) 2023-04-27 20:08:59 +08:00
mmyduckx 46da89a5f7 fix editor simulator resize and change landscape not work (#14908)
* fix editor simulator resize
2023-04-25 17:12:19 +08:00
Zeqiang Li 44bf3f9995 gles2 internal format fix (#14915)
* gles2 internal format fix

* in params
2023-04-25 14:12:26 +08:00
minggo fbafcaace4 fix compiling error 2023-04-24 15:32:23 +08:00
minggo a22d16bbe6 Merge branch 'v3.7.3' into merge_v3.7.3 2023-04-24 11:26:58 +08:00
jk20012001 be9af44774 fix light type used in ubo and shader (#14891) 2023-04-23 17:34:13 +08:00
oahc09 63bdc9ff4a feat:xr interface support async load asset image (#14876) 2023-04-23 09:27:55 +08:00
bofeng-song 73412caf59 Fix the issue of button response offset caused by listening to incorrect objects (#14864) 2023-04-20 17:29:12 +08:00
江战 81c4e12322 revert change for genbindings.js (#14871) 2023-04-20 16:53:14 +08:00
Cocos Robot 4f0849a302 [ci skip][AUTO]: Automated code generating update: 63651aa149b69b34d382910dcbbdc85f3f850e92 (#14847) (#14870)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-04-20 14:56:13 +08:00
qiuguohua 125f8c8978 [OpenHarmony] Fix the problem of compilation failure on mac due to incorrect case (#14847) 2023-04-20 14:42:42 +08:00
hyde zhou d1369d2ab4 V3.7.3 pipeline (#14772) 2023-04-19 23:23:43 +08:00
Zach Lee bf971a7260 fix dereferencing null pointers when passing through multiple submodels, where the preceding submodels do not include forwardadd+ pass. (#14840) 2023-04-19 21:52:53 +08:00
Zach Lee 32f04095e4 fix overload compile issue. (#14843) 2023-04-19 21:05:19 +08:00
徐兵 9b1ab8c691 ignore transparent object with capturing reflection probe (#14786) 2023-04-19 19:14:27 +08:00
江战 dd423882f2 Update external-config.json (#14838) 2023-04-19 15:29:37 +08:00
Zach Lee 790f9339e7 feature: support save shader cache incremental. (#14822) 2023-04-19 10:09:55 +08:00
Cocos Robot 1bee6a2240 [ci skip][AUTO]: Automated code generating update: 37dc919f4e8b302ef7a85bb07eb12940794a87a1 (#14810) (#14826)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-04-18 10:32:00 +08:00
Zach Lee ceb7e4ae9d feature: custom gfx command(VK) (#14797) 2023-04-18 10:23:43 +08:00
Zach Lee 90f24cc753 fix custom pipeline gles issue. (#14820) 2023-04-18 10:22:57 +08:00
dogeFu 8d95d24ee0 fix: support tooltips in effect for native scene (#14812) 2023-04-18 09:44:11 +08:00
Zeqiang Li 01a9081bc6 addRenderWindow for imported texture & fgd raster indicator (#14807) 2023-04-17 14:19:28 +08:00
oahc09 879ca3da6e improve:extend external texture parameters and support external vkimage (#14732) 2023-04-14 15:41:52 +08:00
徐兵 983fefe01e fix terrain model output error log with reflection probe (#14790) 2023-04-14 10:09:40 +08:00
Cocos Robot e8ceb6ac96 [ci skip][AUTO]: Automated code generating update: 31d8a36098a8075de40a3e8b13f742b86f9a09e0 (#14759) (#14791)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-04-13 17:50:28 +08:00