Commit Graph

24 Commits

Author SHA1 Message Date
Yun Hsiao Wu 88dac32d85 fix skel anim bounds reuse (#6028) 2020-01-04 08:34:01 +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 0cd08e8441 fix web audio stop before play (#5927) 2019-12-19 15:02:28 +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
Yun Hsiao Wu 0f12fb11e4 move data conversion out of animation clip (#5922)
* move data conversion out of animation-clip

* pre sample switch on skeletal anim comp
2019-12-18 18:47:45 +08:00
Yun Hsiao Wu e4c6e6c691 increase default joint texture size (#5876) 2019-12-10 11:12:14 +08:00
Yun Hsiao Wu 8cb27d3536 fix skinning model init (#5875) 2019-12-10 10:55:18 +08:00
Yun Hsiao Wu d02b23eb71 fix skinning model & model comp onEnable (#5873) 2019-12-09 19:53:52 +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
Yun Hsiao Wu e558f3f0fe filter shader bindings wrt. macros (#5772)
* filter shader bindings wrt. macros

* fix default joint texture size

* empty scene opt
2019-11-25 16:05:56 +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
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 1cfe037204 better implant interface (#5733) 2019-11-13 19:50:11 +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
Yun Hsiao Wu 1ae2069a7a reupload clip after model destroyed (#5716) 2019-11-08 17:38:57 +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
Yun Hsiao Wu d47ebecf1c joints texture: handle negative zeros on CPU (#5566) 2019-10-18 11:59:02 +08:00
Yun Hsiao Wu a120ccbd05 unify animation clips (#5523) 2019-10-18 11:26:04 +08:00
Yun Hsiao Wu a65a3716e8 fix active texture in GL1 (#5332)
* fix node euler update & skinning model anim buffer

* fix active texture in GL1
2019-09-04 20:57:19 -05:00
Yun Hsiao Wu 0d4bf98f61 wx audio global callbacks (#5310)
* some linter fix

* wx audio global callbacks
2019-09-02 04:30:08 -05: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