Commit Graph

9021 Commits

Author SHA1 Message Date
jiaxin.lai d6d2910b91 deprecated optimize (#6339)
* add costom suggest to deprecated

* tweaks

* format
2020-03-17 16:46:51 +08:00
Leslie Leigh (李的序) 58b998f3f8 Refactor cross-fade implementation (#6326)
* Cross fade

* Bug fix

* Fix CI

* Update 1

* Update 2

* Update 3

* Rename BlendState -> BlendStateBuffer
2020-03-17 16:33:39 +08:00
Leslie Leigh (李的序) e23ddb23f1 Provide .d.ts file for illustration of DebugInfos.json (#6340) 2020-03-17 16:20:42 +08:00
Myway d049b259f2 Lightmap and LightComponent refine (#6342)
* 增加修改lightmap接口

* light-component增加bake参数

* 修改LightBakeType名字
2020-03-17 16:19:45 +08:00
coulsonwang 89cab4c3bc Retina issue (#6276)
* update pixel ratio in native

* fix dpr issue

* reset camera attribute

* update reivew

* fix dpr issue

* update review

* fix

* fix

* fix text format

* fix CI compile fail

Co-authored-by: Jone <350791117@qq.com>
2020-03-17 09:51:57 +08:00
Leslie Leigh (李的序) 808ca091ab Small fixes (#6272) 2020-03-16 11:58:04 +08:00
Myway a33c516c89 增加修改lightmap接口 (#6330) 2020-03-15 20:23:15 +08:00
jiaxin.lai e517b38f1f en api docs for primitives (#6306)
* fix onLoaded of cc.Primitive

* en api docs for primitives

* fix
2020-03-15 20:14:03 +08:00
jiaxin.lai a4af34630f integrate trimesh shape of ammo & cannon (#6232)
* stash

* cannon impl

* ammo mesh collider

* finish ammo mesh collider

* cannon trimesh shape

* tweaks

* tweaks

* tweaks

* update @cocos/ammo &  @cocos/cannon

* fix ci

* naming norm

* use config object

* renaming

* naming norm

* naming norm

* tweaks

* stash

* stash

* stash

* add error map

* export impl

* update package-lock

* export impl of world

* tweaks
2020-03-15 19:41:16 +08:00
Yun Hsiao Wu a07ddb4bb1 Frame ID should be synced regardless of dirty flag (#6321) 2020-03-12 19:17:15 +08:00
Leslie Leigh (李的序) 284e2102e2 Vertex index channel (#6318)
* Vertex index channel

* Typo

* Typo
2020-03-12 17:01:04 +08:00
Yun Hsiao Wu 45d182308b GPU instancing support (#6300)
* instancing works

* misc opts

* material.setproperty typing

* baked skinning model instancing works

* fix isNormalized

* custom chunk rules injection framework

* profiler instance count

* seperate custom joint textures

* fix joint mapped buffers

* WebGL 1 doesn't allow int attributes

* should rebuild instances after pso change

* set instance attribute

* constants naming
2020-03-12 10:21:19 +08:00
ChiaNing e120dfaa45 spriteframe uv change (#6262)
* spriteframe uv change

* fix uv bug in ios-wechat
2020-03-11 16:36:01 +08:00
jiaxin.lai c889dee142 geometry en api (#6283) 2020-03-11 16:08:49 +08:00
jiaxin.lai 905716cecd add hit normal to ray result (#6258)
* add hit normal to ray result

* tweaks
2020-03-11 15:59:33 +08:00
jiaxin.lai 50d6264086 fix reset of array collision matrix (#6299)
* fix reset of array collision matrix

* reuse array
2020-03-11 14:31:42 +08:00
Leslie Leigh (李的序) 284aa38d25 Build time constants (#6256)
* consts

* Bump @cocos/build-engine version

* Fix

* Upload @cocos/build-engine

* Rm scripts/build-engine/.gitignore
2020-03-11 14:05:22 +08:00
Yun Hsiao Wu 2d431f7ec4 SubModel level joint data (#6260)
* submodel joints data

* map VB joint indices on demand

* fix joint mapping

* fix shadows

* minor
2020-03-09 21:45:37 +08:00
cary e4789f44f0 Fix a problem of Burst for 3d particle. (#6269) (#6270) 2020-03-06 22:15:28 +08:00
pandamicro b8d0b2d921 Merge pull request #6298 from cocos-creator/3d-v1.0.4
Merge 3d v1.0.4
2020-03-06 22:08:17 +08:00
pandamicro b216217438 prevent multiple running instance of mainloop (#6290)
* prevent multiple running mainloop

* remove duplicate cancelanimateionframe

* fix format
2020-03-05 16:50:36 +08:00
Leslie Leigh (李的序) 81bc025d2f Catch common target initialization error (#6246) 2020-03-03 13:19:41 +08:00
jiaxin.lai 7d180508a5 fix unit test (#6259) 2020-03-02 19:34:07 +08:00
ChiaNing 0bf9d8c63c Update engine version (#6263) 2020-03-02 19:32:29 +08:00
pandamicro 3fe2a3c82a Cherry pick animation clip hash fix and update engine version (#6268)
* Update engine version

* fix animation clip hash (#6229)

Co-authored-by: Yun Hsiao Wu <inheritorofgalaxy@gmail.com>
2020-03-02 19:31:30 +08:00
cary cab5448356 Fix the afterimage problem of particle trail when doing transform animation. (#6191) 2020-03-02 00:02:52 +08:00
jiaxin.lai e341856542 fix ammo memory leak (#6251) 2020-03-01 21:27:47 +08:00
JoneLau 1d03fa2ede complement the 3D UI API (#6172)
* complement the 3D UI API

* updated
2020-02-28 12:39:18 +08:00
ChiaNing 59f58feead sliced uv change for altas (#6247) 2020-02-28 12:19:05 +08:00
Leslie Leigh (李的序) 89f3a01af9 Optimize gulp scripts (#6238) 2020-02-28 11:00:45 +08:00
Yun Hsiao Wu 9dd3764265 fix animation clip hash (#6229) 2020-02-26 14:37:51 +08:00
Yun Hsiao Wu edd1189518 flexible skinning model (#6131)
* flexible skinning model

* skinning shader works on non-skinning models

* more opts

* UBO default values

* more opts

* update default joint

* more opts

* more opts

* unified skeletal animation component

* misc opts

* fix batched skinning model

* fix mesh interfaces

* texture buffer pool alignment

* move switch to skeletal animation component

* in-shader joint offset

* minor
2020-02-26 11:32:38 +08:00
pandamicro 53ee17725f Fix deserialize issue for component construction issues(report as missing) (#6223) 2020-02-25 16:00:38 +08:00
pandamicro b44dcc1115 Merge pull request #6220 from cocos-creator/3d-v1.0.4
Merge 3d v1.0.4
2020-02-25 10:12:28 +08:00
JoneLau f1c142b7d2 fixed error caused rollback not stop (#6202) 2020-02-24 18:33:43 +08:00
JoneLau b73cce8959 fixed splash screen residue problem(supplement #6082) (#6199)
https://github.com/cocos-creator/engine/pull/6082
2020-02-24 15:06:16 +08:00
jiaxin.lai b432674bbb auto destroy when target is node (#6215)
* add node-destroyed event

* auto destroy when target is node

* tweaks
2020-02-24 14:37:28 +08:00
jiaxin.lai 5bad3fbf7c using tween instead of tweenUtil (#6206)
* using tween instead of tweenUtil

* add target to callback args
2020-02-24 11:26:26 +08:00
jiaxin.lai a54cd7fb94 optimize tween (#6205)
* optimize tween

* tweaks
2020-02-21 19:10:48 +08:00
Myway 0250cd663b Terrain restore不再处理asset (#6203) 2020-02-21 19:00:14 +08:00
ChiaNing 5e4b21c5ca renderpipeline bug fix for cocosPlay (#6192) 2020-02-21 10:22:45 +08:00
ChiaNing b07d91cf98 widget alignMode add (#6187) 2020-02-21 10:22:11 +08:00
Yun Hsiao Wu c1c1a82946 API docs (#6174)
* API docs

* wording & tooltip

* update material
2020-02-21 10:20:29 +08:00
ChiaNing c460e65e39 mat invert return change (#6181)
* mat invert return change

* add warn

* remove warn,add api doc
2020-02-21 10:19:39 +08:00
SijieWang 76fc0ef9c2 Non-browser processes are currently not supported (#6193) 2020-02-19 16:49:00 +08:00
SijieWang dff521ab43 Replace Editor variable (#6189)
* Replace Editor variable

* Fixed several definition errors
2020-02-19 15:09:53 +08:00
ChiaNing 8c1b380424 color hex bug fix (#6180) 2020-02-18 16:03:03 +08:00
JoneLau 1c6c605cc6 fix label bug (#6165)
* fix label bug

1. fixed no rendering with labelComponent cachemode in char mode

2. fixed no updating when anchor changed  in richtextcomponent

* updated
2020-02-16 10:34:09 +08:00
ChiaNing c80e7942c0 fix AliPay gamePause Bug (#6167) 2020-02-13 17:49:01 +08:00
Leslie Leigh (李的序) a83db4c8ad Fix npm problem (#6168) 2020-02-13 17:47:03 +08:00