Commit Graph

130 Commits

Author SHA1 Message Date
JoneLau ea700afb50 fix coordinate replace function (#6025)
save
2020-01-04 11:22:14 +08:00
Yun Hsiao Wu 6f37ef31a9 fix profiler init proc (#6009) 2019-12-31 09:59:00 +08:00
Yun Hsiao Wu 997bb7edd3 better profiler size calculation (#5998)
* better profiler size

* restore batching status when destroying model
2019-12-30 16:06:05 +08:00
zxg0622 cd777802f8 add static batch (#5976) 2019-12-27 18:10:09 +08:00
zxg0622 39a7fbdd89 refactor material instance (#5910)
* refactor material instance

* revert setMaterial signature

* fix some defects

* material instance using inheritance (#5)

* material instance using inheritance

* renderable component

* more fixes (#6)

* more fixes

* minor

* fix some defects

* fix batching (#7)

* better format (#8)

* fix

* fix batching & skybox (#9)

* fix skinning (#10)

* change sharedMaterial decorator

* add modelcomponent property deprecated

Co-authored-by: Yun Hsiao Wu <inheritorofgalaxy@gmail.com>
2019-12-25 17:41:04 +08:00
JoneLau 12aca7d4a4 convert coordinate from 3d camera to ui (#5896) 2019-12-19 15:05:37 +08:00
Leslie Leigh (李的序) 86636442cf Kill INode & IBaseNode (#5893)
* Remove INode, IBaseNode

* Fix

* Fix types error

* Update
2019-12-19 14:17:14 +08:00
JoneLau a7115f18d3 fix spelling mistakes and wrong format (#5888) 2019-12-12 18:39:54 +08:00
pandamicro 3bffb3f48a Merge remote-tracking branch 'origin/3d' into 3d-v1.0.2
# Conflicts:
#	cocos/core/pipeline/render-view.ts
2019-12-12 16:59:17 +08:00
jiaxin.lai b55ac9713b remove some unneeded code (#5878) 2019-12-10 19:05:09 +08:00
zxg0622 1c7c5f4d75 fix renderpipeline bug & some defects (#5843) 2019-12-05 15:22:52 +08:00
pandamicro 802d7a9b49 Merge branch '3d-v1.0.2' into 3d
# Conflicts:
#	cocos/core/components/ui-base/canvas-component.ts
#	cocos/core/components/ui-base/ui-render-component.ts
#	cocos/core/game.ts
#	cocos/core/pipeline/forward/forward-pipeline.ts
#	cocos/core/pipeline/render-flow.ts
#	cocos/core/pipeline/render-pipeline.ts
#	cocos/core/root.ts
#	cocos/core/scene-graph/base-node.ts
2019-12-03 19:23:26 +08:00
ChiaNing f3c198171e alipay adapter update (#5824)
* alipay adapter update

* platform change

* update

* useless remove
2019-12-03 15:47:23 +08:00
ChiaNing fce470c9c9 alipay adapter & oppo adapter (#5813)
* adapter

* adapters useless remove

* bug fix

* clip getplayer

* alipay adapter update

* redefin remove

* log remove

* deprecated redefine fix

* predefine update

* AliPay console adapter

* prefab update
2019-12-02 15:34:39 +08:00
ChiaNing b7606ef2fc node event TRS remove (#5750)
* node event TRS remove

* transformBit  rename & deprecated

* notice update
2019-11-20 16:07:50 +08:00
pandamicro f85b7bf7e5 Merge branch '3d-v1.0.2' into 3d
# Conflicts:
#	cocos/core/components/ui-base/ui-render-component.ts
#	cocos/core/components/ui-base/ui-transform-component.ts
#	cocos/core/scene-graph/base-node.ts
#	cocos/terrain/terrain.ts
2019-11-19 18:28:54 +08:00
Yun Hsiao Wu f7f6193f26 skinning model bounds (#5743)
* first try: skeleton bounds with scaling

* second try: bone space per joint bounds

* rendering data pool manager

* shadow culling

* better identity joint texture handle allocation

* fix batched skinning model material lost

after quitting animation editor

* unify local ubo binding
2019-11-19 18:13:49 +08:00
JoneLau 4638caecb0 fix name err (#5726) 2019-11-13 15:50:44 +08:00
Yun Hsiao Wu 1146b322a3 update effects (#5722)
* update effects

* fix profiler aspect
2019-11-13 15:45:19 +08:00
Yun Hsiao Wu b26b7395ad update shaders (#5696) 2019-11-11 22:08:23 +08:00
pandamicro 2c3082d879 Merge pull request #5712 from cocos-creator/3d-v1.0.1
Merge 3d v1.0.1
2019-11-08 15:46:50 +08:00
Yun Hsiao Wu 019163d4f5 fix node.translate (#5707) 2019-11-08 15:06:00 +08:00
JoneLau 040bb73075 add ui static batch (#5644) 2019-11-01 16:37:17 +08:00
ChiaNing 3689407ad6 profiler format (#5607)
* profiler format

* profiler update

* profiler update

* profiler scheduler add

* profiler update optimize
2019-10-28 11:12:55 +08:00
pandamicro 0e9567b5e3 Forbidden adding component to scene (#5622)
* Fix typo in event listener

* Fix Scheduler.schedule parameter issue

* Move event processing from Node to BaseNode

* Scene inherit from BaseNode instead of Node

* Forbidden adding component to scene
2019-10-25 19:02:42 +08:00
JoneLau 61331869a7 fix ui sort err in wx (#5620) 2019-10-25 16:48:01 +08:00
Yun Hsiao Wu 2e59be932c misc pipeline fix (#5558)
* fix tone mapping

* linter fix

* fix shadow cache

* better shadow fix

* draw shadow only on default visibility
2019-10-21 11:06:15 +08:00
ChiaNing eb5b4fca12 API Doc fix (#5480) 2019-09-27 17:04:58 +08:00
Yun Hsiao Wu 8a98afdf08 fix audio duration clamp & profiler ratio (#5475) 2019-09-26 16:39:43 +08:00
ChiaNing fc03c46cb3 layer bitmask change (#5429)
* layer bitmask change

* name change
2019-09-20 13:57:55 +08:00
ChiaNing 3f597dc6c9 BitMask add, layers change ( don't marge, wait editor change ) (#5359)
* BitMask add, layers change

* bitmask name change & layers enum change

* layers enum change

* layer enum change
2019-09-12 15:49:24 +08:00
pandamicro 9010aba9d8 Fix sortedIndex compare issue because of _id type inconsistency (#5375) 2019-09-11 17:35:57 +08:00
SijieWang b215a60e3e Delete some of the Editor references (#5345)
* Delete some of the Editor references

* review code

* test case
2019-09-09 09:58:31 +08:00
jiaxin.lai ae0c00e536 fix profiler timing (#5292) 2019-08-30 05:23:07 -05:00
pandamicro e887e3793c Fix circular dependencies and fix build issues (#5290)
* Fix circular dependencies and fix build issues

* Fix ci

* Fix engine build
2019-08-30 15:22:49 +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
JoneLau 9b6111ebeb export convert utils (#5283) 2019-08-29 21:24:08 -05: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
ChiaNing 425dd5db6d profiler layer fix (#5265) 2019-08-28 02:58:40 -05:00
pandamicro e741808788 Fix unit test issue caused by canvas usage (#5264) 2019-08-28 15:32:13 +08:00
Santy-Wang 74ca58d549 fix issue that uuid mismatched in md5 pipe (#5259) 2019-08-27 03:15:59 -05:00
ChiaNing 131eefcf6a camera priority fix & profiler modify (#5235) 2019-08-23 01:49:33 -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
ChiaNing e12586b470 modify profiler priority (#5212) 2019-08-21 04:55:13 -05:00
Yun Hsiao Wu f6f11aab3a numerically robust quat-euler conversion (#5209)
* minor

* numerically robust quat-euler conversion

* minor
2019-08-21 17:18:41 +08:00
ChiaNing f6b3c85bf3 visibility fix (#5183) 2019-08-19 05:03:47 -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 ef1d274ac7 calc world transform using matrix for skeletal animation (#5139) 2019-08-12 04:29:21 -05:00
pandamicro 8367e8b036 Fix EventManager listener order issue (#5127)
* Remove useless base node apis to reduce properties

* Add BaseNode _siblingIndex to avoid indexOf check

* Fix EventManager listener order issue

* Fix  ci

* Fix node removal issue

* Fix siblingIndex for deserialized node
2019-08-09 16:58:45 +08:00