Commit Graph

758 Commits

Author SHA1 Message Date
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
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
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
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
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
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
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
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 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
ChiaNing 5e4b21c5ca renderpipeline bug fix for cocosPlay (#6192) 2020-02-21 10:22:45 +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
ChiaNing c80e7942c0 fix AliPay gamePause Bug (#6167) 2020-02-13 17:49:01 +08:00
jiaxin.lai 38d5dcc2c9 sync the condition of webgl2 (#6162) 2020-02-13 10:54:52 +08:00
jiaxin.lai 576be92838 rename geom-utils to geometry (#6161) 2020-02-13 10:08:57 +08:00
jiaxin.lai 344d1eebde Ammo-capsule (#6159)
* stash

* stash

* stash

* update @cocos/ammo to 1.0.1

* tweaks

* tweaks
2020-02-12 18:58:02 +08:00
jiaxin.lai 50a641548d enable deprecated system in alipay platform (#6151) 2020-02-12 17:56:56 +08:00
Leslie Leigh (李的序) 33b4f4bf8c Fix some lint problems (#6122)
* lint

* Update
2020-02-11 23:24:18 +08:00
Yun Hsiao Wu fcf1aa57f0 fix node forward (#6155) 2020-02-11 18:02:50 +08:00
Yun Hsiao Wu 34bb8b19b7 disable GL2 on UC (#6126) 2020-02-10 11:02:42 +08:00
Yun Hsiao Wu 791e22c205 fix default stencil mask (#6117)
* linter

* fix default stencil mask

* more interface on camera matrices
2020-02-09 09:49:07 +08:00
pandamicro 5fd66e43e0 Merge pull request #6127 from shrinktofit/fix-dts
Fix error definition
2020-02-08 23:52:48 +08:00
ChiaNing 5f2f153ebc api doc update (#6130) 2020-02-08 23:44:36 +08:00
Jone eb00108a21 fix camera size err when use rendertexture 2020-01-19 20:11:20 +08:00
Unknown 3247738be5 Fix error definination 2020-01-19 18:18:03 +08:00
Yun Hsiao Wu 3aec9cb125 raycast opt (#6113) 2020-01-15 17:00:46 +08:00
Yun Hsiao Wu 74bfa051d1 fix skinning model destroy (#6111)
* better raycast result

* fix skinning model destroy
2020-01-15 16:11:23 +08:00
jiaxin.lai bba6968eee fix obb capsule intersect algorithm (#6110) 2020-01-15 15:05:14 +08:00
Yun Hsiao Wu 0d34ba3b29 fix raycast skinning model (#6109) 2020-01-15 15:03:09 +08:00
ChiaNing 14ecb18a9c hack splash canvas for CocosPlay (#6107) 2020-01-15 14:24:57 +08:00
Yun Hsiao Wu 9cf7f07a65 fix anim bounds & shader compiling (#6106) 2020-01-15 11:52:32 +08:00
pandamicro f3a37be03d Add ownerQueue protection to Loader (#6105) 2020-01-14 20:26:07 +08:00