Commit Graph

56 Commits

Author SHA1 Message Date
zxg0622 7e26112852 fix modelcomponent attach scene bug (#6056) 2020-01-08 15:50:14 +08:00
Leslie Leigh (李的序) bdcc94bd33 Circular reference (#6050) 2020-01-08 12:38:40 +08:00
JoneLau ea700afb50 fix coordinate replace function (#6025)
save
2020-01-04 11:22:14 +08:00
JoneLau 845871214c fix circle code (#5991) 2019-12-28 14:06:22 +08:00
zxg0622 395ab9fb41 fix some bug (#5974) 2019-12-26 16:59:47 +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
Yun Hsiao Wu 3513319c1e copyBuffersToTexture using ArrayBufferViews (#5945) 2019-12-23 16:10:46 +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
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
Yun Hsiao Wu d02b23eb71 fix skinning model & model comp onEnable (#5873) 2019-12-09 19:53:52 +08:00
Yun Hsiao Wu 9d49b80cca misc improve (#5870) 2019-12-09 18:27:28 +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
zheng han 096c949807 change animatable property from sharedMaterials to materials (#5789) 2019-12-02 10:36:02 +08:00
Yun Hsiao Wu f47cea1422 better playground framework (#5805)
* better playground framework

* remove redundant memops

* minor

* linter

* restore memops
2019-11-29 13:26:34 +08:00
Yun Hsiao Wu f18becae28 fix main light (#5793)
* fix main light

* linter
2019-11-27 16:53:22 +08:00
zxg0622 53ed7da2db fix render scene error (#5790) 2019-11-26 15:04:16 +08:00
zxg0622 cda23e5c14 refactor model allocation logic (#5689)
* refactor model allocation logic

* fix ts null check

* fix particle system decorator
2019-11-23 18:28:28 +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
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
pandamicro 27cb457039 Merge pull request #5737 from cocos-creator/3d-v1.0.1
Merge 3d v1.0.1
2019-11-14 14:20:13 +08:00
Yun Hsiao Wu 1ae2069a7a reupload clip after model destroyed (#5716) 2019-11-08 17:38:57 +08:00
ftershock fc359c8a7a add tooltip (#5663)
* Add tooltip

* add tooltip

* update spriteatlas

* add changeSpriteFrameFromAtlas
2019-11-06 18:30:12 +08:00
Yun Hsiao Wu aa11efe0c7 misc pipeline fixes (#5661)
* shorter shader name

* remove global GL ref

* fix shadow disappear after undo
2019-10-31 17:00:37 +08:00
Yun Hsiao Wu de783932c9 optimize dynamic batch (#5651) 2019-10-30 18:44:09 +08:00
Yun Hsiao Wu 86e985a19e fix model property init order (#5648) 2019-10-30 17:49:39 +08:00
媛媛 cb18dc91ec update light component menu (#5649) 2019-10-30 17:41:02 +08:00
Yun Hsiao Wu 49d06b4195 fix dynamic batching (#5646)
* fix dynamic batching

* bootstrap PSO interface

* always use latest PSO
2019-10-30 16:30:35 +08:00
Yun Hsiao Wu e337ae33d9 one material instance for all kinds of models (#5608)
* one material instance for all kinds of models

* better pass organization

* linter fix & more opt TODOs

* PSOs store their hashes from now on

* store string pass phase

* fix sampler cache

* optimize pass resource init proc

* audio context compat improv
2019-10-28 16:09:39 +08:00
zxg0622 4ce31e98d3 add trail to uimodel (#5617) 2019-10-28 11:50:14 +08:00
zxg0622 48283dda50 fix hdr renderpipeline gizmo render error (#5603) 2019-10-24 10:22:07 +08:00
Yun Hsiao Wu a120ccbd05 unify animation clips (#5523) 2019-10-18 11:26:04 +08:00
pandamicro 5399db98ac Merge pull request #5522 from cocos-creator/3d-v1.0.0
Merge 3d v1.0.0
2019-10-12 10:22:53 +08:00
ftershock de32d9b22d API Doc update (#5481)
* update

* API Doc update

* API Doc update

* API Doc update

* API Doc update
2019-10-12 10:18:27 +08:00
Lelie Leight (李的序) 607824a963 expose some type definitions (#5455) 2019-10-09 17:40:07 +08:00
zxg0622 edae7c596c fix particle destroy attatched to uimodel (#5504) 2019-10-09 17:29:38 +08:00
JoneLau 28eb22d64e fix window err when scene changed (#5448)
fix scene-gizmo err when scene changed
2019-09-24 19:16:25 +08:00
ChiaNing fc03c46cb3 layer bitmask change (#5429)
* layer bitmask change

* name change
2019-09-20 13:57:55 +08:00
Yun Hsiao Wu 7d697f0b25 audio handle hide & show events (#5426)
* minor

* remove avatar model component

* audio handle hide & show events
2019-09-20 09:40:47 +08:00
JoneLau 304c4197c9 fix repeat assignment in camera targettexture (#5410) 2019-09-18 18:29:45 +08:00
Yun Hsiao Wu 63eb7918b2 cleaner create component menu (#5396) 2019-09-16 17:21:52 +08:00
Weiliang Wang 88f10d4b3e optimize dynamic batching (#5392)
* optimize dynamic batching
2019-09-16 10:08:50 +08:00
ChiaNing 4489cee96c set camera visibility false (#5389) 2019-09-12 19:24:19 +08:00
Yun Hsiao Wu 9db6e9b49a lazy eval memory heavy animation data conversions (#5382)
* fix interface

* lazy eval memory heavy animation data conversions
2019-09-12 18:35:29 +08:00
Weiliang Wang 0c9dddb319 fix bathed buffer generation bug (#5378)
* add transformAffine()

* remove duplicate code

* add a backup buffer function to gfx-buffer

* complete dynamic batching

* fix bathed buffer generation bug
2019-09-11 18:39:37 +08:00
Weiliang Wang 76542aacf8 Complete dynamic batching (#5370)
* add transformAffine()

* remove duplicate code

* add a backup buffer function to gfx-buffer

* complete dynamic batching

* fix conflicts

* fix ci test
2019-09-11 16:03:06 +08:00
Yun Hsiao Wu ea923922ba partial handle & Pass.getUniform (#5356)
* linter fix

* partial handle & getUniform
2019-09-10 10:35:02 +08:00
pandamicro 2a8d52f3ab Avoid issue on hago runtime (#5354)
* Avoid issue on hago runtime

* Fix ci

* Fix ci

* Fix ci

* Again, fix ci
2019-09-09 19:28:33 +08:00
Yun Hsiao Wu 162ea8cb26 fix skybox (#5347)
* better ortho skybox

* skybox as camera clear flag
2019-09-06 18:00:58 +08:00