Commit Graph

19725 Commits

Author SHA1 Message Date
jk20012001 516e2bb538 update material meta files with pr #227 (#14133) 2023-02-02 18:36:20 +08:00
jk20012001 7c5b89deb2 add new debug view options and runtime controll (#14083) 2023-02-02 15:09:20 +08:00
minggo f74ab840b9 update package description (#14128) 2023-02-02 14:34:21 +08:00
Cocos Robot 032b22ba9e [ci skip][AUTO]: Automated code generating update: 717f1ba1574dc5bf8864c128efbdb9afb411245d (#14127) (#14129)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-02-02 14:25:41 +08:00
minggo 05dd06d337 update engine version (#14127) 2023-02-02 14:17:12 +08:00
minggo 1fc74be6e2 improve bitmask api (#14116) 2023-02-02 14:09:32 +08:00
zxx43 360e8c54d5 V3.7.0 Particle system apis (#13952)
* add some English api

* add particle module api

* add api for particle modules

* add noise api

* add api for particle system

* add some particle system apis

* fix some apis

* modify some particle apis

* modify some api docs

* modify english translation
2023-02-02 11:41:48 +08:00
James Chen cce921b778 [native] Fix Mesh._ctor synchronizes an empty value to native if getting Mesh by MeshUtils.createMesh (#14105) 2023-02-02 11:10:30 +08:00
Cocos Robot 611384e935 [ci skip][AUTO]: Automated code generating update: 233bc4831e98d2c1b46122ad128044275647952e (#14061) (#14120)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-02-02 10:52:05 +08:00
hyde zhou 8c612a3bbb [pipeline] add native pipeline ubo uploading (#14061)
* merge v3.7.0-pipeline

* pass done

* fix const reference return type

* add uniform block buiding

* fix const cast

* fix const

* fix mtl const

* integrating native program library

* native pipeline workflow updated

* adding ubo binding

* Solve the problem of the version attribute of pass (#87)

* ubo upload added

* adding camera ubo

* add constant name

* update uniform buffer

* adding execution resources

* per pass ubo added

* fix bugs

* ubo added

* fix render pass bug

* bind set added

* adding ubo uploading

* shader binding overwrite added

* shader binding overwrite added

* add missing header

* draw updated

* ubo updated

* fix main light ubo

* pass ubo added

* lint

* fix custom pipeline window resize issue. (#88)

* fix lint

* fix assert

* remove texture1d

* fix constantMacros

* lint

* fixed: native custom pipeline graphics pipeline state leak. (#89)

* lint

* skybox added

* skip subpass input binding rewrite (#90)

* per pass descriptor set modified

* adding blit

* fix material

* fix fg get usage (#91)

* fix barrier fetch

* fix ios bug

* fix barrier

* support cc builtin overwrite

* try fix shadowMap

* refactor resources

* update blit

* add render graph binding

* fix shader bugs

* fix blit

* fix bugs

* remove unnessary barriers

* fix init

* fix addCameraQuad

* fix raster view order

---------

Co-authored-by: GengineJS <476393671@qq.com>
Co-authored-by: Zach Lee <bluesky013@126.com>
Co-authored-by: Zeqiang Li <zeqiang-li@outlook.com>
2023-02-01 17:46:34 +08:00
ChiaNing 221c37a275 Protect scroll bar error when its deleted (#14041)
* Protect scroll bar error when its deleted

* change to is Valid
2023-02-01 17:38:53 +08:00
hyde zhou 6dd16771cb [pipeline] enable custom pipeline in editor (#14084)
* enable custom pipeline in editor

* always enable in runtime
2023-02-01 17:38:04 +08:00
zxx43 f57fa31cdf Modify 2d particle default color varying (#14036)
* set default color varying as 0

* modify default 2d particle plist color variance
2023-02-01 16:55:44 +08:00
mmyduckx c36728e768 fix iOS getBatteryLevel value is -1 (#14113)
* fix iOS getBatteryLevel value is -1
2023-02-01 15:58:22 +08:00
minggo 32c08e73f9 merge container-manager.ts and scalable-container.ts (#14107)
* merge `container-manager.ts` and `scalable-container.ts`
* rename `ContainerManager` to `ScalableContainerManager`
* rename `containerManager` to `scalableContainerManager`
2023-02-01 14:12:46 +08:00
troublemaker52025 48da4f06cf fix instanced queue rendering multiple times (#14072) 2023-02-01 10:37:43 +08:00
jk20012001 414bd2a512 fix terrain.effect compilation error (#14109) 2023-02-01 10:18:26 +08:00
zhangxin 3773d8b2d2 [Optimize] add image asset's zh i18n (#14108)
* add image asset's zh i18n

* Update assets.js
2023-01-31 13:43:15 +08:00
jk20012001 e70a9aaee2 fix data compatible with wrong normal tangent data (#13984) 2023-01-30 01:01:20 +08:00
bofeng-song 92c0220258 fix shadow not work while radiu set to 0 (#14047)
* fix shadow not work while radiu set to 0
2023-01-20 08:11:17 +08:00
PP 271940c813 fix image loading on Xiaomi platform (#14064) 2023-01-20 07:59:27 +08:00
pandamicro c8d1c8e927 Improve camera API doc and fix some range declarations (#14088)
* Improve API doc for camera

* Improve inspector range declarations

* Fix typo
2023-01-18 16:14:21 +08:00
Myway ddd059dc71 add highp lightmap macro (#14081) 2023-01-17 16:39:05 +08:00
zhakesi 10564633bc fix tween api docs (#14079) 2023-01-17 13:41:35 +08:00
hyde zhou 2a48624a74 disable custom pipeline in editor (#14077) 2023-01-17 11:37:35 +08:00
Myway 8a59780e6f fix shader compilation error with new version of lightmap (#14071) 2023-01-16 11:24:27 +08:00
hyde zhou 857004bc00 [pipeline] refactor custom pipeline init (#14040) 2023-01-13 14:02:46 +08:00
jk20012001 9485b4cd25 fix shadowmap lowp with huawei and reflection probe brightness (#14058) 2023-01-13 10:40:15 +08:00
zxx43 dd0d4da609 no need to check visible for start rotation z (#14052) 2023-01-13 10:34:42 +08:00
Ling Zhan f8f121c732 [fix] refactor physics2d contact listener (#14026)
* [opt] physics2d box2d contactListner optimization

* back. todo: pre,post,_begin,_end, physicsContact class

* new contact listener works now.

* code refactor

* tweaks

* tweaks

* rename finalizeCollision to finalizeContactEvent

* align physics 2d events with physics 3d.

* tweaks

* fix builtin2d

* tweaks box2d

* Revert "tweaks box2d"

This reverts commit d5d0cbd36e6669844e363513c5861904e37153a5.

Revert "fix builtin2d"

This reverts commit 143b4b2abcc90f585f019a6b027c9053acb1fc73.

Revert "tweaks"

This reverts commit b9c449ec85d2ed408ebeceebb6efd10ec1f117a5.

Revert "align physics 2d events with physics 3d."

This reverts commit c12f102c6f7777266e3986bdf72a90656fa2b453.

* tweaks

* compatibility

* tweaks
2023-01-12 22:01:01 +08:00
bofeng-song 56e714696a Fix the lod that does not work properly when forced to use certain levels (#14055) 2023-01-12 15:25:58 +08:00
bofeng-song d5ea0063a8 Repair the problem of unsynchronized model data when adding lod levels dynamically (#14054) 2023-01-12 14:42:11 +08:00
Ling Zhan ce7e0d05e6 [fix] physics-2d box2d syncRotationToPhysics not calculate Euler angle right #15398 (#14048) (#14053)
* [fix] physics-2d box2d syncRotationToPhysics not calculate Euler angle right #15398

* tweaks

* tweak

* add HALF_PI, TWO_PI

* toEulerAngle-->toEulerInYXZOrder
2023-01-12 13:59:09 +08:00
bofeng-song f7b4eeef81 fix models can not be show normaly while it set to multi levels (#13975)
* fix models can not be show normaly while it set to multi levels
2023-01-12 11:48:58 +08:00
pandamicro 287827ffbe Merge pull request #14037 from pandamicro/v3.7.1
Merge v3.7.0 to v3.7.1
2023-01-10 15:35:38 +08:00
pandamicro 0a8dc371b2 Merge branch 'v3.7.0' into v3.7.1 2023-01-10 14:58:57 +08:00
pandamicro 826d9de87b Revert "Revert "[feat] physics2d add doc hint (#13897)" (#13972)"
This reverts commit 4dd965dd6f.
2023-01-10 14:58:41 +08:00
Santy-Wang e2a04dd7bd add more api docs (#13937)
* print the engine version

* refine docs

* refine docs

* refine docs

* add more docs

* fix some error

* add pipeline and task docs

* refine

* refine

* fix d.ts error

* refine and add uuid getter

* fix syntax

* refine link
2023-01-10 12:00:45 +08:00
江战 2362df28a4 Bugfix: revert native preview node._addComponentAt (#14033) 2023-01-10 11:47:31 +08:00
徐兵 5160b42ffd fix reflection probe error (#14027) 2023-01-09 21:06:16 +08:00
Cocos Robot 8ac1888f16 [ci skip][AUTO]: Automated code generating update: 479ecfe1c54a559ea7ec9181e9c15ca05da20fc6 (#13996) (#14024)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-01-09 11:13:02 +08:00
jk20012001 42e4a14f82 debug view support with native engine (#13996) 2023-01-09 10:18:21 +08:00
王凯鹏 cc3182c728 fix : no apply prefab id in editor mode (#14022) 2023-01-07 15:54:42 +08:00
hyde zhou e11bdf5775 [pipeline] update custom pipeline (#14002) 2023-01-07 12:30:44 +08:00
PP 3a9d9a547f fix: decorated property without default value (#14016)
* fix: decorated property without default value

* update

* update

* update  test

* Update tests/core/decorator.test.ts

Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com>

* Update tests/core/decorator.test.ts

Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com>

* Update tests/core/decorator.test.ts

Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com>

* Update tests/core/decorator.test.ts

Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com>

* close warning

Co-authored-by: Leslie Leigh (李的序) <leslieleigh@outlook.com>
2023-01-06 18:47:53 +08:00
mmyduckx e8c214b5af fix windows launch slow when remote load resource (#14015) 2023-01-06 15:38:17 +08:00
bofeng-song fb2d7136f2 Fix lod can't be displayed properly on vulkan backend (#14013) 2023-01-06 13:44:55 +08:00
zxx43 1136bff769 Optimize cpu calculation and remove curve gettor setter (#14008)
* optimize cpu calculation and remove curve getter setter

* revert curve

* revert rate over distance calculation
2023-01-06 11:42:38 +08:00
PP 97552fe096 cherry-pick: fix imageAsset data for taobao (#13399) (#14012) 2023-01-06 11:15:34 +08:00
Cocos Robot e7e0388f42 [ci skip][AUTO]: Automated code generating update: ac8ae5f55e15d786ca67efa30bdbb3c8f6e1808b (#13981) (#13993)
Co-authored-by: cocos-robot <cocos-robot@cocos.com>
2023-01-05 20:16:53 +08:00