Commit Graph

149 Commits

Author SHA1 Message Date
PP fa51b804b5 remove and ban @ts-expect-error (#14572)
* remove ts-expect-error usage in engine

* deprecate Scheduler interface

* remove JavaScriptCore

* set some engineInternal public property as getter setter

* fix build-declaration

* fix releaseManager export name conflict

* update scriptEngineType

* fix and update some comment

* remove  w_mat, w_pos, w_rot, w_scale

* update renderer

* fix setRootBufferDirty not binding on native

* optimize floatToHashString

* mark NOTE
2023-03-20 13:48:26 +08:00
Myway 484e40f9bb fixed the main light still takes effect after baking (#14525)
* fixed the main light still takes effect after baking
2023-03-09 16:47:12 +08:00
Myway 017347d2bc fixed reset light map error (#14520) 2023-03-09 10:23:26 +08:00
jk20012001 00fb828ce9 fix pr test crash on test-case terrain (#14291) 2023-02-16 23:21:07 +08:00
Myway 49af59558f Use double precision instead of float for terrain asset (#13920) 2022-12-29 10:20:47 +08:00
pandamicro afd22296b4 MIT license update and to new year 2023 (#13927)
* Cpp MIT license update and to date
* TS MIT license update and to date
2022-12-28 11:25:12 +08:00
Myway 27eda26f7e Clamp terrain tile size in precision 0.01 (#13837) 2022-12-16 17:26:01 +08:00
Myway 88d4950a54 fixed brush invalid material cause missing lighting map uniform (#13742) 2022-12-08 16:27:23 +08:00
Myway 7bc851c8cc terrain support stationary light map (#13714)
fixed terrain light map shader compile error
2022-12-07 16:26:40 +08:00
Knox a3d924e5e5 Repair the problem of non-standardized property settings (#13667)
* refine code, add default values and update types
2022-12-06 11:17:22 +08:00
Myway 315e245a1a 1.delete bakeable property of light component (#13344)
* 1.delete bakeable property of light component
2.fixed terrain lod in runtime
3.fixed terrain block memory leak

* fixed eslint error

* fixed compile error
2022-11-14 18:29:38 +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
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
santy-wang f33523227f sync v3.6.1 to develop 2022-09-19 14:00:54 +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
Myway 4ae7ada548 fixed rebuild normal error (#12767)
* fixed terrain lod error for lodEnable change

* using standard light map uniform for terrain effect

* fix eslint error for terrain.ts

* use @engineInternal tag for TerrainRenderable._lightmap

* add @engineInternal for terrain block interface

* remove @engineInternal for terrain brush interface

* fixed rebuild normal error
2022-09-14 17:53:50 +08:00
Myway 83c7721fd1 remove @engineInternal for terrain brush interface (#12766)
* fixed terrain lod error for lodEnable change

* using standard light map uniform for terrain effect

* fix eslint error for terrain.ts

* use @engineInternal tag for TerrainRenderable._lightmap

* add @engineInternal for terrain block interface

* remove @engineInternal for terrain brush interface
2022-09-14 17:35:14 +08:00
Myway 99955ee864 fixed terrain lod error for lodEnable change (#12761)
* fixed terrain lod error for lodEnable change

* using standard light map uniform for terrain effect

* fix eslint error for terrain.ts

* use @engineInternal tag for TerrainRenderable._lightmap

* add @engineInternal for terrain block interface
2022-09-14 15:59:46 +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
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
minggo aba9fdb63f Merge branch 'v3.6.1' into merge_v3.6.1 2022-09-02 20:08:18 +08:00
Myway 9df478babe Export layer list to terrain asset by the layers change (#12611) 2022-09-01 18:05:33 +08:00
minggo c5c7b987ea move cocos/core/gfx to cocos/gfx (#12559)
* move cocos/core/gfx to cocos/gfx
2022-08-26 17:51:46 +08:00
Myway 4107a0a777 optimize terrain loading (#12401)
* optimize terrain loading

* fix eslint error
2022-08-11 19:11:26 +08:00
Santy-Wang 7bc135e1c7 adjust initialization process (#11143)
* adjust init process

* fix bugs

* restructure

* tweak

* delete useless code

* fix ci

* support more platform and fix some bugs

* mark internal

* tweak

* add docs

* add docs and little adjustment

* fix bugs

* adjust decorator execute order

fix mesh error

* fix bugs

* revert some change

* revert auto-generated code

* revert auto-generated code
2022-07-03 21:16:09 +08:00
minggo 77701a2d84 Merge branch 'v3.5.1' into v3.6.0-merge-v3.5.1 2022-05-27 15:23:33 +08:00
Santy-Wang 6f83995e57 adjust docs i18n (#11166)
* adjust docs

* adjust docs

* refine

* adjust docs
2022-05-25 11:00:52 +08:00
hyde zhou 2789c2e6e9 fix terrain index buffer sharing bug (#11206) 2022-05-25 10:50:02 +08:00
Myway 57b73ea331 Cancel sharing index buffer for per block (#11200) 2022-05-24 16:59:59 +08:00
minggo 7814949998 Merge branch 'v3.5.1' into v3.6.0_merge_v3.5.1 2022-05-24 11:53:57 +08:00
pandamicro dba83c270d Fix multi blank lines (#11116) 2022-05-17 11:56:06 +08:00
Myway 60e44f7564 terrain and model automatic choose lightmap shader (#11006)
* terrain and model automatic choose lightmap shader

* fix eslint error
2022-05-12 01:43:32 +08:00
ChiaNing 045e6430cb add base-Renderer and separate & rename renderableComp (#10903)
* add base-Renderer and separate & rename renderableComp

* rename

* some fix

* misc fix

* format change

* file name change & api doc add

Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com>
2022-05-09 17:44:56 +08:00
Santy-Wang 23de9188ba V3.5 docs (#10898)
* adjust api docs and delete useless annotation

* delete useless annotation
2022-04-27 15:22:22 +08:00
minggo 84c27e7f71 Merge branch 'v3.5.0' into v3.6.0_merge_v3.5 2022-04-24 13:41:27 +08:00
Santy-Wang e82cec17ac update docs (#10796)
* update docs

* update docs more

* refine

* refine
2022-04-20 18:47:53 +08:00
Myway 9d2e32535d reset lightmap when rebuild terrain (#10714) 2022-04-10 15:56:09 +08:00
PP d749bbe1c4 remove legacyPublic tag (#10702) 2022-04-08 19:41:20 +08:00
minggo be735449af Revert "remove some deprecated api (#10656)" (#10694)
This reverts commit a1b1fc5a09.
2022-04-08 11:51:06 +08:00
minggo a1b1fc5a09 remove some deprecated api (#10656)
* remove some deprecated api
2022-04-07 16:31:02 +08:00
minggo a6bf766170 Merge branch 'v3.5.0' into v3.6_merge_v3.5 2022-03-29 18:26:40 +08:00
Leslie Leigh (李的序) 9e46834765 Category description (#10544)
* Category description

* Update
2022-03-28 17:53:45 +08:00
Myway bc59c43cd1 set lightmap clamp to border and fixed rebuild terrain weights (#10470) 2022-03-24 11:43:44 +08:00
Leslie Leigh (李的序) 16253687b9 Handle legacyPublic in API doc (#10456)
* Handle legacy public

* Update
2022-03-23 14:26:27 +08:00
Santy-Wang ab82e1b42d remove hidden (#10414)
* remove hidden

* fix typo

* fix unit-test

* turn on auto fix
2022-03-22 15:11:16 +08:00
Leslie Leigh (李的序) 466d4cf1f9 API documentation: category (#10435)
* Typdoc: category

* Add categories

* workflow
2022-03-22 13:57:00 +08:00
hyde zhou d6f93d364b remove pipeline event from pipeline, decouple terrain from render pipeline (#10283) 2022-03-09 17:31:46 +08:00
hyde zhou a8ad40fca9 V3.6.0 pipeline refactor (#10221) 2022-03-02 15:27:46 +08:00
PP fbde8d1e90 use lagacyPublic to marked deprecated public interface (#9859)
* use lagacy-public

* publish beta6

* remove jsDoc tag from constructor

* use legacyPublic

* publish beta 7
2021-12-28 11:48:10 +08:00
pandamicro decf7e92fa Merge pull request #9853 from holycanvas/v3.5.0-sync
sync v3.4.1
2021-12-22 16:01:31 +08:00