Commit Graph

1824 Commits

Author SHA1 Message Date
jiaxin.lai 4f142eea67 fix splash screen for webgl2 (#6064)
* fix splash screen webgl for webgl2

* setup attribute for webgl context

* copy from bug fix for xiaomi (#6067)
2020-01-10 21:33:14 +08:00
pandamicro 23af1636d5 fix trail render error (#6046) (#6070)
Co-authored-by: zxg0622 <247274249@qq.com>
2020-01-10 11:22:18 +08:00
ChiaNing c55a382a82 bug fix for xiaomi (#6067) 2020-01-09 17:59:53 +08:00
jiaxin.lai 24102ee8cc splash screen webgl impl (#6058)
* splash screen webgl impl

* rename initRenderer2 to initRenderer
2020-01-08 19:09:14 +08:00
zxg0622 fe92dfe151 fix editor scene window is black before scene loaded (#6059) 2020-01-08 18:45:52 +08:00
zxg0622 7e26112852 fix modelcomponent attach scene bug (#6056) 2020-01-08 15:50:14 +08:00
JoneLau 7e5bfd67d5 recalculate when camera is updated (#6048) 2020-01-08 12:59:54 +08:00
JoneLau c7cf4f0c2d fix editbox eventtype and remove unless code (#6044) 2020-01-08 12:56:31 +08:00
jiaxin.lai 6e092ad307 Tweaks of tween&physics (#6036)
*  tweaks of Tween api document

* fix export of ConstantForce
2020-01-08 12:53:19 +08:00
JoneLau 44a6229834 adjust code prompt (#6049) 2020-01-08 12:51:47 +08:00
Leslie Leigh (李的序) bdcc94bd33 Circular reference (#6050) 2020-01-08 12:38:40 +08:00
Yun Hsiao Wu b251999511 swap chain consistency before pause (#6047) 2020-01-08 11:31:40 +08:00
Yun Hsiao Wu f5652eee61 cleaner audio types (#6037)
* cleaner audio types

* clear unused binding
2020-01-06 16:51:54 +08:00
Yun Hsiao Wu 4c87e45539 fix stencil mask default constant (#6032) 2020-01-05 16:40:28 +08:00
JoneLau 2f22deca33 fix wrong spelling and remove repeat code (#6030) 2020-01-04 14:47:54 +08:00
JoneLau ea700afb50 fix coordinate replace function (#6025)
save
2020-01-04 11:22:14 +08:00
jiaxin.lai 2fec62b5cf fix body enabled after add or remove shapes (#6024) 2020-01-04 09:30:14 +08:00
Yun Hsiao Wu 88dac32d85 fix skel anim bounds reuse (#6028) 2020-01-04 08:34:01 +08:00
JoneLau 2a068b2720 update material api in uiModel (#6007) 2019-12-31 09:59:22 +08:00
Yun Hsiao Wu 6f37ef31a9 fix profiler init proc (#6009) 2019-12-31 09:59:00 +08:00
pandamicro f9f7171c4c Fix director.root not initialized in splash image (#6006) 2019-12-30 17:50:59 +08:00
JoneLau 5d0506b443 fix spriteframe code behavior inconsistencies and adjust code (#6003) 2019-12-30 17:13:42 +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
pandamicro ad8bce8b2a Correct fix to renderbufferStorage depth format (#5996)
remove
2019-12-28 17:01:38 +08:00
pandamicro 4cddf3af3d Fix depth component constant not exist in WebGL issue (#5995) 2019-12-28 16:33:31 +08:00
ChiaNing d0cb5a8be3 engine load fix (#5993)
* engine load fix

* renderPipeline config fix

* bug  fix

* event remove
2019-12-28 16:14:55 +08:00
zxg0622 24e8103051 fix render pipeline init error (#5994) 2019-12-28 16:12:12 +08:00
JoneLau 1d09097b41 migrate editbox from creator (#5992) 2019-12-28 15:57:42 +08:00
JoneLau 845871214c fix circle code (#5991) 2019-12-28 14:06:22 +08:00
JoneLau 098e72b8c9 fix bad usage in label canvas pool (#5984) 2019-12-27 21:41:49 +08:00
Yun Hsiao Wu 5cc98d91f4 log about texture buffer pool format (#5988) 2019-12-27 19:21:53 +08:00
Leslie Leigh (李的序) f2f8da8cbb Special process for implementation of animation of uniform component (#5980)
* Special process for implementation of animation of uniform component

* Fix serialization issue
2019-12-27 18:50:39 +08:00
Leslie Leigh (李的序) eaf1e84870 Optimize partial object animation (#5981) 2019-12-27 18:50:25 +08:00
jiaxin.lai 21cc4351c6 builtin_capsule_collider (#5970)
* add bouding capsule

* add builtin capsule collider

* add apater for capsule shape

* fix circular dependency

* fix typing

* fix capsule_capsule algorithm

* api doc tweaks

* fix ci
2019-12-27 18:11:44 +08:00
zxg0622 cd777802f8 add static batch (#5976) 2019-12-27 18:10:09 +08:00
pandamicro 2198ee72d6 Fix animation data decode with ArrayBufferView (#5977) 2019-12-26 20:38:12 +08:00
JoneLau d78c914b71 fix cannot set property color of graphics which has only a getter (#5972) 2019-12-26 18:12:22 +08:00
JoneLau 077cc5e5bc support invert mask (#5961)
* support invert mask

* fix bug

1. fix stencil no effect in material instance
2. fix the value of hit area
2019-12-26 17:31:22 +08:00
zxg0622 395ab9fb41 fix some bug (#5974) 2019-12-26 16:59:47 +08:00
pandamicro 7a26eb2150 Merge pull request #5973 from cocos-creator/3d-v1.0.2
Merge 3d-v1.0.2 to 3d
2019-12-26 15:53:06 +08:00
Leslie Leigh (李的序) afd62241c4 Support of partial property animation. (#5818)
* Partial property animation

* Optimize easingMethods storage

* Fix

* Fix CI error
2019-12-26 15:04:46 +08:00
JoneLau 24c849ea52 fix elastic failure (#5958) 2019-12-26 14:32:16 +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
jiaxin.lai 87c6b9bda4 Ammo-Wrapper (#5954)
* basic physics abstract spec

* spec tweaks

* stash

* cannon refactor

* builtin refactor

* cannon wrapper & framework tweaks

* hiding, wait for 1.0.3

* delete unneed code

* export CANNON

* rebase

* rename stash

* rename I-rigid-body to i-rigid-body

* stash

* stash

* cannon refactor

* cannon wrapper & framework tweaks

* remve unneeded code

* wrap,....hack

* demo impl

* stash

* stash, complete dynamics update

* dynamic update center

* stash, size + center

* tweaks, fix share trigger shape

* tweaks

* stash

* ammo events stash

* tweaks

* stash

* complete ammo events

* tweaks

* stash

* body property, stash

* body , stash...

* tweaks

* tweaks

* tweaks

* ammo tweaks

* stash

* stash

* tweaks

* tweaks

* stash,complete tirgger,body、 ghost etc.

* tweaks

* remove unneeded code

* fix api of angluar velocity

* physic material for single body for now

* ray test stash

* stash

* update ammo version

* impl raycast

* impl group mask

* update ammo version

* update ammo package

* add onDestroy to ammo rigid body

* add protected for temporary

* fix allow sleep

* remove unneed code

* shape tweaks

* stash

* rename spahe to shape

* tweaks

* fix damping

* adapt

* reset state after disable & enable

* export ammo.js

* Revert "cannon wrapper & framework tweaks"

This reverts commit e59ea98c0bd8c23b23e9ee428ddce45d0271f1eb.

* update @cocos/ammo version

* fix applyLocalTorque

* tweaks

* beta version

* fix import i-rigid-body

* delete unused file

* Specification function name
2019-12-25 17:34:12 +08:00
Leslie Leigh (李的序) 7e2ec4f0f8 Fix that Quat constructor misbehaves when argument w is 0 (#5957) 2019-12-25 12:27:29 +08:00
ChiaNing b6985161fa add cocosplay for build (#5959) 2019-12-25 11:11:13 +08:00
GengineJS 7f982324d5 [Feature] Remove the condition judgment of isbuffer from cocos/core/data/deserialize class (#5934) 2019-12-24 16:18:53 +08:00
Myway fcc773db71 Terrain fix and lod (#5939)
* 修复地形显示bug及一些规范

* 实现lod算法
2019-12-24 11:01:51 +08:00
ChiaNing 51d9286f2a add JSB_AUDIO type in audioType (#5949)
* add JSB_AUDIO type

* change audio type
2019-12-24 10:57:26 +08:00
JoneLau 1f88eb3251 effect clearColor in alpha channel (#5941) 2019-12-23 23:49:15 +08:00