Commit Graph

4921 Commits

Author SHA1 Message Date
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
江战 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
Jiujiang Liu 3898cf3d47 fix getUniform API bug (#15333)
Co-authored-by: James Chen <dumganhar@gmail.com>
2023-06-07 15:24:35 +08:00
pandamicro c8d3be08a3 Fix issues in Node.updateWorldTransform and UITransform.getBoundingBoxTo[World] (#15273)
* Fix transform update issue when only rotation is set to root node

* Fix UITransform.getBoundingBoxTo and UITransform.getBoundingBoxToWorld

* Improve API and test

* Fix native Node::updateWorldTransform

* Fix UITransform.getBoundingBoxTo

* Fix getBoundingBoxTo by ensuring one time rect transform

* Ignore zero sized rect for bounding box calculation

* Improve API doc
2023-06-07 11:10:28 +08:00
Yiwen fda480e960 Fix texture mipmaps with compression (#15277) 2023-06-06 18:51:51 +08:00
oahc09 f54865e23d fix:xr right eye render failed when using custom render pipeline (#15319) 2023-06-06 18:46:16 +08:00
Yiwen 9b0996a17d [fix] assign physics system to PhysicsSystem._instance, before using it (#15331) 2023-06-06 15:04:07 +08:00
徐兵 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
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
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
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