santy-wang
a450f100d9
fix import
2022-10-11 20:39:29 +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
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
jk20012001
4ad23f2193
fix submeshes have different instancing options ( #12786 )
2022-09-23 16:55:04 +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
James Chen
7b65436e02
fixed #12625 : The prototype chain for mesh.maxPosition is not Vec3 on version 3.6.0 ( #12628 )
2022-09-01 15:48:25 +08:00
ChiaNing
f2a9607aa4
The base version of sorting priority add ( #11599 )
...
* sorting Priority add
* fix CI
* name change
* binding add
* name change to priority
* bind remove
Co-authored-by: ChiaNing <sun.clooud.mo@gmail.com >
2022-06-20 17:54:31 +08:00
James Chen
fcebfcb1b9
[JSB] Fix some performance issues for 3.6.0 branch ( #11523 )
...
* [JSB] Fix wrong path of pipeline-state.ts in cc.config.json which causes pipeline-state.jsb.ts takes no effect.
* [JSB] Optimize MeshRenderer.setInstancedAttribute for native. Avoid to generate temporary JSB objects.
* [JSB] Optimize se::Object::getArrayLength.
* Reorder typedarray type in Object::getTypedArrayType, check Float32Array first since we use Float32Array and unsigned integer much more frequently.
* More std::vector.reserve in InstancedBuffer.cpp & Model.cpp
* Update stack size to 64 bytes for array in js_Model_setInstancedAttribute
2022-06-16 13:56:38 +08:00
Myway
365c692c34
fix lightmap error for instanced material ( #11460 )
...
* Support rotate for terrain image brush
* fix light map error of instancing
2022-06-10 18:13:07 +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
8ef4d3c4a9
Fix API docs for 3d module and part of core module ( #11126 )
...
* Refactor morph and morph-rendering module
* Fix API docs for 3d module
* Fix some API docs for core module
* Tweaks and fixes of links
2022-05-19 14:19:05 +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
pandamicro
dae6ac508c
Fix some API doc issues ( #10788 )
...
* Fix some API doc issues
* Add some new zh doc
* remove geometry deprecation since 3.0
* Fix ci
2022-04-20 21:02:58 +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
黄森斌
d065ca6aee
V3.5.0 fix bug: reset renderer-component would not update model ( #10342 )
...
* fix bug: reset materials would not update model
* add comment
* reset _materials.length
* fix bug: model in scene would not disappear when remove mesh
* modify code written
2022-03-22 17:57:56 +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
Myway
459abdbd72
change lighting map unpack and luminance multiply ( #10185 )
2022-03-22 12:01:47 +08:00
李吉林
d793157a71
add dynamic mesh ( #10291 )
...
* add dynamic mesh
* Mesh init refactor
* fix geometry renderer bug
* dynamic mesh review update
* MeshUtils refactor
* do not export createDynamicMesh
2022-03-16 16:55:49 +08:00
troublemaker52025
e723e5aa3a
Add renderMesh bias for v3.5.0 ( #10102 )
...
* Add renderMesh bias for v3.5.0
* fix ci error
* change function name
* fix merge error
* update
* update 2
* update
* update
* update 2
2022-02-24 23:27:09 +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
PP
cc01fad918
support internal interface filter ( #9797 )
...
* support interface filter
* publish build-engine@4.2.20-beta.1
* update
* fix other type of statement
* publish @cocos/build-engine 4.2.20
* update lock
* remove `@internal` from constructor documentation
* change to internal_cc tag
* support target tag in interface-filter
* publish 4.2.21-beta.1
* remove `@private_cc` tag
* remove public internal interface
* remove public internal getter setter
* remove public declare internal property
* update
* remove `__editorExtrasTag__`
* remove public internal interface on `js`
* pulish @cocos/build-engine 4.2.21-beta.2
* change tag to `@deprecated_to_user`
* support `@deprecated_to_user`
* publish 4.2.21-beta.3
* finish change request
* change to marked_as_engine_private
* publish 4.2.21-beta.5
2021-12-22 12:55:45 +08:00
santy-wang
6cde877e5b
Merge branch 'v3.4.0' of https://gitlab.cocos.net/publics/engine into v3.5.0
2021-11-24 14:23:21 +08:00
Yun Hsiao Wu
2ff4e8a8cf
set model dirty when attaching to scene ( #9674 )
2021-11-17 18:54:09 +08:00
李吉林
3d1ac52a26
fix crash: native model is destroyed but not removed from renderscene ( #9543 )
...
Co-authored-by: lijilin <jilin.li@cocos.com >
2021-10-26 15:46:54 +08:00
Yun Hsiao Wu
9a185dab77
fix skeletal animation remove/restore ( #9041 )
2021-07-23 11:49:02 +08:00
Leslie Leigh (李的序)
f7a5bd3102
Store morph weights in mesh renderer ( #8754 )
...
* Store morph weights in mesh renderer
* Update
* Document and lint
2021-07-21 16:41:17 +08:00
pandamicro
c5d4c5c08e
Merge remote-tracking branch 'origin/v3.0.0' into device-proof
...
# Conflicts:
# cocos/3d/assets/morph-rendering.ts
# cocos/core/builtin/builtin-res-mgr.ts
# cocos/core/builtin/effects.ts
# cocos/core/builtin/shader-sources/glsl1.ts
# cocos/core/builtin/shader-sources/glsl3.ts
# cocos/core/builtin/shader-sources/glsl4.ts
# cocos/core/pipeline/index.jsb.ts
# cocos/core/pipeline/planar-shadow-queue.ts
# cocos/core/pipeline/render-additive-light-queue.ts
# cocos/core/pipeline/shadow/shadow-flow.ts
# cocos/particle/renderer/trail.ts
# cocos/physics/ammo/polyfill-atob.ts
# editor/assets/effects/builtin-spine-two-colored.effect.meta
# jest.config.js
# platforms/native/engine/jsb-pipeline.js
# tests/general/sealed-global-variables.json
2021-02-07 18:33:59 +08:00
Yun Hsiao Wu
4fd693adf2
device layer adapt
2021-02-03 17:51:20 +08:00
JoneLau
6493f22faf
add component menu categories ( #8206 )
2021-01-25 19:39:43 +08:00
troublemaker52025
d4c2604068
fix mesh renderer changed bug ( #8122 )
...
* 解决了 MeshRender 修改 mesh 后,阴影不正确的 bug
* fix ci error
2021-01-12 15:16:57 +08:00
Leslie Leigh (李的序)
9bd9baac12
Eslint autofix all ( #8108 )
...
* Eslint autofix all
* Manual fix
2021-01-09 11:41:10 +08:00
pandamicro
84f2b5b742
Fix ui canvas event priority and deprecation ( #8062 )
...
* Fix UI event priority sorting issue
* Fix canvas deprecation
* Fix ci
* Fix ci
* Fix eslint
2020-12-31 13:45:15 +08:00
Santy-Wang
ad4bff3988
Restructure Module ( #7968 )
...
* module restructure
* refine
* restructure module
* merge
* revert
* fix ci
* update import path of unit-test
* split 2d and ui
* add more module
* change audio adapter
* rename primitive
* config wechat plugin
* merge
* add category config
* merge
* merge
2020-12-24 19:07:26 +08:00
pandamicro
9f89b0ef24
New module division ( #5285 )
...
* Temp
* temp
* move ui core
* Arrange ui and terrain
* Fix import path for all modules except core
* Move primitives into core
* Fix debug.getError
* Move audio-downloader to audio module
* export game from game.ts
* Migrate load-pipeline to ts
* Fix core modules and cleanup
* Move animation into core
* Fix module exports
* Fix director issue
* Remove most cc.director usage
* Fix ts issues
* Fix issues for unit test and editor running
* Revert removing deprecated import
* tweaks
* tweaks
* Fix ci
* Fix ci
* Add modules in module division
* Upgrade coordinates-converts-utils
2019-08-30 11:35:22 +08:00
Yun Hsiao Wu
b893dfce67
share frame ID UBO across sub skinning models ( #5269 )
...
* fix batcher
* misc perf opt
* share frame ID UBO across sub skinning models
* suppress type error
2019-08-28 22:32:51 -05:00
Weiliang Wang
8d39b4b6b1
fix display stuck bug on scene changing ( #5260 )
...
* add transformAffine()
* remove duplicate code
* fix display stuck bug on scene chaning
2019-08-27 05:27:10 -05:00
Weiliang Wang
595680aa70
fix node layer data ( #5254 )
...
* add transformAffine()
* remove duplicate code
* fix layer data of node
2019-08-26 21:34:53 -05:00
zxg0622
07a31c1d02
change particle default params ( #5252 )
2019-08-26 20:46:30 -05:00
Yun Hsiao Wu
ca0cbd9bdb
fix node set world scale ( #5245 )
2019-08-26 00:57:57 -05:00
JoneLau
d3c43127b0
adjust rendertexture ( #5236 )
2019-08-23 18:39:29 +08:00
zxg0622
538c17ded2
fix particle rotate bug ( #5238 )
2019-08-23 02:14:35 -05:00
ChiaNing
131eefcf6a
camera priority fix & profiler modify ( #5235 )
2019-08-23 01:49:33 -05:00
Yun Hsiao Wu
871fcf5b56
better error handling ( #5228 )
2019-08-22 20:43:23 -05:00