Commit Graph

9043 Commits

Author SHA1 Message Date
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
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