Commit Graph

2672 Commits

Author SHA1 Message Date
minggo aa0515103f move some functions of intersect to misc (#13040)
* move some functions of intersect to misc
as these functions depend on upper modules
2022-10-14 14:37:53 +08:00
santy-wang 91c884362d Merge branch 'v3.6.2' of github.com:cocos-creator/engine into v3.6.1-sync 2022-10-11 20:12:14 +08:00
jk20012001 25c4949ce5 [fix] camera clear flag is skybox but skybox is disabled #13589 (#12964) 2022-10-11 18:56:55 +08:00
troublemaker52025 ddfa2fd42a [optimization] Remove camera dependency (#12983) 2022-10-10 10:29:19 +08:00
minggo b65379fae2 move prefabl-link.ts to cocos/misc (#12937) 2022-09-29 14:05:04 +08:00
minggo 84c25f3a33 declare WrapMode in core/geometry/curve.ts (#12933)
* move WrapMode into core/geometry/curve.ts

* do not exmport WrapModeMask
2022-09-29 09:42:27 +08:00
Zeqiang Li e4930f3332 a compatible way of data copy & default buffer size for uniform buffer (#12935)
* a compatible way of data copy & default buffer size for uniform buffer

* update external config
2022-09-28 16:22:06 +08:00
zhangxin 6adf76db42 _loadCCEScripts will be browser-preview only (#12925)
* _loadCCEScripts  will be browser-preview only

* add comment
2022-09-28 15:23:30 +08:00
minggo 7e6b054b87 remove dependence of render scene caused by core/deprecated.ts (#12931) 2022-09-28 14:46:48 +08:00
AFeiYA 1c2a1ba38a Add srgb transform. (#12873) 2022-09-28 14:15:22 +08:00
PP e51c8c13c4 fix: build-engine (#12929) 2022-09-28 10:56:21 +08:00
minggo 95a76235b6 Adjust some files (#12910)
`cocos/core` should not depend other modules, so move some files out of `cocos/core`:
- move some files from `cocos/core` to `cocos/game`
  - director.ts
  - splash-screen.ts
  - game.ts
 - move `cocos/core/root.ts` to `cocos/root.ts` as there is not better module to contain `root.ts`.
 - move `cocos/core/platform/view.ts` to `cocos/ui/view.ts` as screen related logic is moved to `cocos/core/platform/screen.ts`
2022-09-28 09:34:35 +08:00
zhangxin fb81a95b3d if PREVIEW load cce scripts before loadProjectBundles (#12916)
* If it is preview, replace overrideUuid  directly

* load cce scripts before loadProjectBundles

* Update game.ts

* Update game.ts

* Update game.ts

* Update game.ts
2022-09-27 19:17:24 +08:00
hyde zhou e8366a7a7b [develop] custom pipeline startup refactoring (#12886)
* manually merge bloom, fg culling, native pipeline updates

* fix lint

* camera usage added

* use parent name instead of default & add some phase names

* adding render graph execution

* execute render graph added

* refactoring workflow

* uses interface instead of abstract class

* add setup step

* camera usage added

* adding setup stage

* unify camera get set

* adding ppl setup

* fixed bloom effect

* change descriptor merge

* modify uniform collect as descriptor

* revert

* revert phase

* adding render callback

* update setup workflow

* pipeline builder updated

* refactoring native pipeline setup

* revert jsb

* improve cameraList clear

Co-authored-by: zxx43 <zxx43@hotmail.com>
Co-authored-by: qiuguohua <>
2022-09-27 17:57:21 +08:00
林玮 e7e8036dcd fix: editor and cocos-play issues (#12908)
* fix: editor and cocos-play issues

* * Change 'windowId' to optional.
2022-09-27 17:45:21 +08:00
troublemaker52025 2e547b265c add i18n for shadow (#12906) 2022-09-27 16:32:46 +08:00
zhangxin 2dc1396c08 If it is preview, replace overrideUuid directly (#12905) 2022-09-27 12:00:22 +08:00
Zeqiang Li f730a810a1 wgpu: remove reinit on same object (#12799) 2022-09-27 10:33:51 +08:00
minggo 0d7c5c8f56 move cocos/core/scene-graph to cocos/scene-graph (#12868)
* move `cocos/core/scene-graph` to `cocos/scene-graph`
* move some files in `cocos/core/components` to `cocos/scene-graph`:
  - component.ts
  - component-event-handler.ts
  - component-event-handler-schema.ts
* move some files in `cocos/core/components` to `cocos/misc`: 
  - missing-script.ts
  - model-renderer.ts
  - renderer.ts
  - camera-component.ts
* move  `cocos/core/components/system.ts` to ``cocos/core/system.ts``
2022-09-26 11:02:22 +08:00
jk20012001 4ad23f2193 fix submeshes have different instancing options (#12786) 2022-09-23 16:55:04 +08:00
Zach Lee af54ad1ed2 Feat: Remove the framebuffer hub. Manually update framebuffer after attachment or swapchain changes. (#12812) 2022-09-23 10:15:10 +08:00
Santy-Wang d6f38f3606 Merge pull request #12824 from cocos/v3.6.1
sync V3.6.1 to v3.6.2
2022-09-20 17:59:33 +08:00
bofeng-song e16b6903ce refine: remove unneeded code (#12808) 2022-09-19 18:27:07 +08:00
santy-wang f33523227f sync v3.6.1 to develop 2022-09-19 14:00:54 +08:00
zhangxin cc43af0a22 Enhance type hints (#12787)
* Enhance type hints

* Update js-typed.ts

* Update js-typed.ts

* Update js-typed.ts
2022-09-16 19:35:38 +08:00
minggo bd0fcc67c4 move cocos/core/pipeline to cocos/rendering (#12797)
* move cocos/core/pipeline to cocos/rendering
2022-09-16 16:10:26 +08:00
Zeqiang Li f5c4dee6db Wgpu 3.6.2 WGPU_CI_ON (#12731) 2022-09-16 10:20:52 +08:00
hyde zhou cab07e9b7f add RenderQueue custom ability to classic pipeline (#12760) 2022-09-15 17:37:00 +08:00
hyde zhou eb5e1dca60 web-pipeline updated (#12775) 2022-09-15 17:07:10 +08:00
林玮 785fd91511 Add multi-windows support (#12243)
Co-authored-by: bofeng.song <bofeng.song@chukong-inc.com>
2022-09-15 14:55:44 +08:00
Leslie Leigh (李的序) fbe3b543c4 Fix adjustTransitionPriority in case of serialization (#12770)
* Fix adjustTransitionPriority in case of serialization

* Fix lint
2022-09-15 10:41:56 +08:00
ChiaNing 2afd02e711 sorting component add (#12465)
* sorting component add

* menu add

* change sorting layer type to enum

* import fix

* name change

* sorting init

* fix init

* update priority on editor

* add enum index

* sort fix

* api doc add

* remove export to cc

* doc change

* protect

* warn id

Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-09-15 10:15:33 +08:00
minggo b035f697bf Merge pull request #12769 from cocos/v3.6.1
V3.6.1
2022-09-15 09:46:23 +08:00
James Chen b0600bd89e fixed #12772: Node.pause/resumeSystemEvent not working on native platform. (#12773) 2022-09-15 09:43:28 +08:00
fqamic f838e06c51 improve: move xr init to infrastructure (#12765)
* improve: move xr init to infrastructure

* fix: move initxr, before gfx

* fix: format warning
2022-09-14 17:33:51 +08:00
Santy-Wang f465073500 fix builtin asset hot-reload (#12736) 2022-09-14 14:26:51 +08:00
santy-wang 7bbad4a0a4 Merge branch 'develop' of github.com:cocos-creator/engine into v3.6.1-sync 2022-09-14 11:47:58 +08:00
黄森斌 43a91b1099 [Optimize] tooltip i18n data add extension prefix name (#12741)
* tooltip add extension prefix name

* test case
2022-09-14 10:16:47 +08:00
minggo 4261ccae76 move cocos/core/renderer to cocos/render-scene (#12729)
* move cocos/core/renderer to cocos/render-scene

* fix compiling error on native
2022-09-09 18:19:06 +08:00
LIUYIa 7838e618b1 Modify version number (#12726)
Co-authored-by: liuyi <liuyi@cocos.com>
2022-09-08 18:35:31 +08:00
minggo 70ef983a41 move some files into cocos/core/algorithm (#12723)
move cocos/core/easing, cocos/core/utils/aotob and cocos/core/utils/murmurhash2_gc to cocos/core/algorithm
2022-09-08 17:05:50 +08:00
minggo 2f10f48c15 adjust some folders (#12712)
move cocos/core/asset-manager to cocos/asset/asset-manager
move cocos/core/assets to cocos/asset/assets
merge cocos/core/builtin to cocos/asset/asset-manager
2022-09-07 18:45:54 +08:00
jk20012001 9a2dbb830d [fix] default colored texture support for effect texture cube parameters (#12697) 2022-09-07 11:49:20 +08:00
troublemaker52025 87ab491462 [Bug] Fixed csm define set error (#12680) 2022-09-05 17:56:20 +08:00
minggo 7922834c0b move cocos/core/animation to cocos/animation (#12674) 2022-09-05 14:57:37 +08:00
minggo aba9fdb63f Merge branch 'v3.6.1' into merge_v3.6.1 2022-09-02 20:08:18 +08:00
王凯鹏 f3dae41e1b fix remove add instance to prefab when _instantiate (#12666) 2022-09-02 17:24:13 +08:00
Santy-Wang 1844a35fc9 support asset-overriding (#12632)
* support asset-overriding

* output some debug info

* refine some code

* fix typo
2022-09-02 10:38:46 +08:00
王凯鹏 902413646a Feature:add prefabInstance to prefab when it's instantiated in Editor dynamiclly (#12630)
* Feature:add prefabInstance info to prefab node when it's instantiated it in Editor dynamiclly

* fix error when editor not support addPrefabInstance
2022-09-02 10:11:47 +08:00
pandamicro b0e71237a1 Made Node.children getter result readonly (#12532) 2022-09-01 14:36:24 +08:00