Commit Graph

444 Commits

Author SHA1 Message Date
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
Weiliang Wang a492f59b17 modify visibility test (#5226)
* add transformAffine()

* modify visibility test

* remove duplicate code
2019-08-22 05:48:40 -05:00
zxg0622 173f4fabb4 fix bugs of trail at turning (#5216) 2019-08-21 21:18:34 -05:00
jiaxin.lai ba61a416d4 add torque relative method & add constant force component (#5219)
* remove duplicate method in cannon util

* add torque relative method & add constant force component
2019-08-21 21:07:59 -05:00
jiaxin.lai cafb008388 judging scale by the transform dirty bit (#5202)
* set eslint promise function async to off

* judging scale by the transform dirty bit
2019-08-20 10:07:49 -05:00
ChiaNing 119c30d1f4 camera color fix (#5200) 2019-08-20 05:27:28 -05:00
Weiliang Wang 70105791e6 rename model.viewID to visFlags (#5182)
* modified some interfaces

* fix offscreen window can not be rendering issue

* rename model.viewID to visFlags

* rename viewID to visFlags
2019-08-19 04:30:24 -05:00
zxg0622 06f8ec8a5a add particle 3d scale/rotation feature (#5174) 2019-08-18 20:30:36 -05:00
ChiaNing fb045482ea Profiler (#5152)
* Profiler canvas

* profiler material

* profiler fix

* this. fix

* show bug fix

* rotate add

* shader fix

* remove useless

* remove useless

* type fix

* camera visibility fix

* visibility revert
2019-08-16 00:53:48 -05:00
Yun Hsiao Wu ff19a901c1 refine details (#5164)
* effect adapt

* restore tslint

* refine math constants
2019-08-15 21:52:32 -05:00
Yun Hsiao Wu 517f9af36e fix anim comp duration & node setWorldScale (#5150)
* fix anim clip speed & duration

* fix setWorldScale
2019-08-13 00:38:17 -05:00
Yun Hsiao Wu 5f651dad6f fix circular ref (#5131)
* fix circular ref

* remove tslint usage
2019-08-08 21:25:54 -05:00
Leslie Leigh d32badbed8 module division - v2 (#5104)
* module division - v2

* update

* remove motion path helper

* update typing

* update

* mark webgl api as required
2019-08-07 20:33:14 -05:00
pandamicro cfddd96656 Fix some ts apis (#5108) 2019-08-06 20:11:39 +08:00
Weiliang Wang c1a76d7ae4 fix some crashes (#5105)
* modified some interfaces

* fix offscreen window can not be rendering issue

* fix some crashes
2019-08-06 17:20:09 +08:00
JoneLau 5c18fef37a fix spriteframe can use gfxtextureview (#5086) 2019-08-05 16:35:26 +08:00
Yun Hsiao Wu c100ad41e9 fix node dirty bit (#5083) 2019-08-05 14:52:16 +08:00
Yun Hsiao Wu b134b8db10 node shearing support & detail improve (#5078)
* joints texture free interface

* better socket interaction

* workaround UBO size align bug

* better socket query

* fix playground

* node transform include shearing now

* finer dirty mechanism for node
2019-08-05 10:13:39 +08:00
ChiaNing 9da70cce0b math function add (#5076)
* math function add

* rebase
2019-08-05 09:44:25 +08:00
JoneLau 0659ffb01a fix rendertexture bug and add rendertexture in canvascomponent (#5072) 2019-08-02 18:22:49 +08:00
JoneLau 3d5f8fc278 support rendertexture asset (#5050)
* cherry pick (#4833)

* support rendertexture asset
2019-08-01 18:07:34 +08:00