Commit Graph

9058 Commits

Author SHA1 Message Date
Leslie Leigh (李的序) d8ef0128a6 Optimize skeletal animation curve (#6425)
* Optimize skeletal animation curve

* Optimize setRTS
2020-03-27 21:07:25 +08:00
jiaxin.lai a6cfc24e01 fix splash screen logo adapt (#6433) 2020-03-27 21:05:33 +08:00
cary 9a4142ccc5 Fix the problem that the test-case particle scene is displayed incorrectly. (#6436) 2020-03-27 21:05:03 +08:00
pandamicro 89754dbc73 Update engine version (#6440) 2020-03-27 19:26:16 +08:00
Yun Hsiao Wu 17ba87eea2 fix skybox (#6438) 2020-03-27 16:55:55 +08:00
pandamicro f6fcfd3c08 Fix API regulation breaker in event module (#6430) 2020-03-27 10:34:34 +08:00
黄森斌 5aaae03612 components add @help for editor show document url (#6428) 2020-03-26 18:42:08 +08:00
Leslie Leigh (李的序) 6a8f15fa52 Solve @babel/core version problem (#6422) 2020-03-26 16:34:33 +08:00
ChiaNing 84c4bbcadd event register fix (#6418) 2020-03-25 22:27:49 +08:00
ChiaNing 750d28cf9a navigator for xiaomi (#6417) 2020-03-25 21:41:52 +08:00
jiaxin.lai aa0eb1bdaf cylinder collider (#6416)
* stash

* stash

* stash

* stash

* fix z direction

* impl cannon cylinder

* stash

* stash

* stash

* fix memory leak

* update @cocos/ammo

* add error map

* update package-lock

* tweaks
2020-03-25 18:35:27 +08:00
pandamicro 254eef9653 Fix bizarre logic in render flow activation (#6414) 2020-03-25 16:47:38 +08:00
cary 2c55839cc2 Fix touch failure when node is hidden in touch start. (#6401) 2020-03-25 12:10:14 +08:00
Leslie Leigh (李的序) 14982d340a Morph optimize (#6410) 2020-03-25 12:09:34 +08:00
Leslie Leigh (李的序) 48de5809e7 Typo: submesh -> sub-mesh (#6403) 2020-03-24 16:20:24 +08:00
Leslie Leigh (李的序) 421ed0fffb Morph target (#6400) 2020-03-23 23:40:57 +08:00
Leslie Leigh (李的序) e8cd8ddf4b Bump @cocos/build-engine from 1.0.8 to 1.0.9 to update typescript support (#6397) 2020-03-23 19:08:56 +08:00
Leslie Leigh (李的序) ebf45b15ae Bump eslint; Optimize an error string; Add assert functions (#6398)
* Bump eslint; Optimize an error string; Add assert functions

* Add comment

* Add license
2020-03-23 19:08:16 +08:00
SijieWang c322e7e414 GPU instancing (#6394)
* GPU instancing

* 删除 async await 写法

* review code

* review code
2020-03-23 16:48:08 +08:00
Yun Hsiao Wu 31715a725a fix quat.rotate (#6396) 2020-03-23 16:47:19 +08:00
Leslie Leigh (李的序) 74e6eb02a2 Bump @babel/preset-env to 7.9.0; Bump @cocos/build-engine from 1.0.7 to 1.0.8 (#6392) 2020-03-23 15:42:58 +08:00
ChiaNing 70bb6da2ac spriteframe slicedUV bug fix (#6393) 2020-03-23 15:41:41 +08:00
pandamicro 4f4cd91d51 Refactor game init process & make splash screen internal (#6391)
* Refactor game init process & make splash screen internal

* Fix ci
2020-03-23 12:59:40 +08:00
Yun Hsiao Wu 85da544205 fix joint texture ref count (#6389) 2020-03-23 11:28:40 +08:00
jiaxin.lai d5b0e387a8 mark render-scene raycast as deprecated (#6385)
* mark render-scene raycast as deprecated

* fix ci
2020-03-23 10:44:19 +08:00
ChiaNing 644218fd09 Sprite Frame change (#6336)
* sprite-frame change

* spriteframe update

* set texture fix

* can render fix

* spriteframe textureLoaded fix

* update

* update

* texture loaded update

* refresh texture add

* format fix
2020-03-20 19:37:50 +08:00
jiaxin.lai 216cb739b4 fix set of color & clear color (#6383)
* fix set of color & clear color

* add protect

* tweaks
2020-03-20 19:16:42 +08:00
Yun Hsiao Wu df6b7b5e60 better joint texture layout (#6372)
* better joint texture layout

* still need to update world matrix when batching

* shouldn't update instancing attributes for implant psos

* fix copy framebuffer to buffer

* fix texture multiple upload

* wording
2020-03-20 18:26:29 +08:00
cary cefa760123 Optimize the serialization size of particle resources. (#6264)
* Optimize the serialization size of particle resources.

* fix ci

* add multiplier

* refine code

* fix ci

* modify serialize data

* fix culling
2020-03-20 18:21:45 +08:00
Myway 54388eb600 Separation of LightingMapInfo (#6381)
* lightingmap info单独存储

* 修改数组清空问题
2020-03-20 18:08:26 +08:00
Leslie Leigh (李的序) 35c86df584 Turns on isolatedModules (#6368) 2020-03-19 15:58:52 +08:00
ChiaNing 0c8ad4527e font loader update (#6370) 2020-03-19 15:57:29 +08:00
Myway 458111b77c Support Lightmap options in light and model and small tweeks (#6366)
* 增加修改lightmap接口

* light-component增加bake参数

* 修改LightBakeType名字

* 新增lightmap属性设置
2020-03-19 15:46:50 +08:00
ChiaNing 5b5183b2a6 mat4 translate bug fix (#6371) 2020-03-19 15:43:26 +08:00
Leslie Leigh (李的序) 5dd09918f6 Bug fix (#6363) 2020-03-18 17:27:36 +08:00
Leslie Leigh (李的序) 06b0315e10 Remove deprecated Animation.curveDatas (#6348) 2020-03-17 18:40:19 +08:00
jiaxin.lai 4aac1be3f6 add ray_mesh to intersect (#6317)
* stash

* add ray_mesh

* stash

* ceche geometric info at runtime

* add ray_mesh & ray_model

* remove redundant data

* tweaks

* renaming
2020-03-17 16:54:57 +08:00
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