Commit Graph

240 Commits

Author SHA1 Message Date
Leslie Leigh 4a2050d7c2 calculate skinned bounds (#4246) 2019-04-18 16:11:06 +08:00
jiaxin.lai 1982751da3 Adjustment modules to avoid circular reference , split 'enum' type from 'instance.ts' , add to 'physics-enum.ts' (#4235) 2019-04-17 19:27:59 +08:00
Leslie Leigh 99e94819cb opt (#4227) 2019-04-17 14:47:09 +08:00
Leslie Leigh 43e1180d88 joint texture rgba8888 (#4226) 2019-04-16 12:21:52 +08:00
jiaxin.lai 0609c58a9d Fix problems where physics and scene synchronization are different (#4224) 2019-04-15 20:25:26 +08:00
jiaxin.lai 5a0b49ac25 fixes applyForce and applyImpulse function call error, modify shape and body construct order (#4195) 2019-04-12 09:49:44 +08:00
Yun Hsiao Wu 295d74416c material: recompile shaders (#4198) 2019-04-12 09:47:31 +08:00
jiaxin.lai 449e7640dc Construct a rigid body should be before the user script can access the rigid body (#4189) 2019-04-11 14:54:51 +08:00
jerrywwl b2fbc56024 Merge branch '3d' of https://github.com/cocos-creator/engine into 3d 2019-04-10 17:04:13 +08:00
zxg0622 80c9009b07 add particle system pool manage (#4187) 2019-04-10 15:53:00 +08:00
jiaxin.lai 6b37a78897 rigidbody depends on colider, so rigidbody should be executed later than colider (#4186) 2019-04-10 15:45:31 +08:00
Santy-Wang 1d797a9325 modify the default value of _luminance (#4185) 2019-04-10 15:43:32 +08:00
Leslie Leigh e7a7aacb4c remove 3d animation clip (#4184) 2019-04-10 15:17:57 +08:00
jerrywwl 7759b174ef Merge branch '3d' of https://github.com/cocos-creator/engine into 3d 2019-04-09 21:02:23 +08:00
jerrywwl 13577b32c0 adjust mesh structure 2019-04-09 21:02:12 +08:00
Yun Hsiao Wu 1fb5a90d82 pass shader recompile interface (#4181) 2019-04-09 18:30:32 +08:00
jiaxin.lai abc2d65da1 fixes UseGravity property in rigidbody component (#4165) 2019-04-08 18:14:45 +08:00
Yun Hsiao Wu 2ef9110adb light, camera, view fix (#4164) 2019-04-08 15:33:08 +08:00
jerrywwl b221af8e87 Merge branch '3d' of https://github.com/cocos-creator/engine into 3d 2019-04-08 14:36:28 +08:00
jiaxin.lai 3bb398a31f Fix a problem where the physical system collision event does not trigger because of automatic sleep, adding a trigger property to the collider component (#4158) 2019-04-08 14:35:23 +08:00
jerrywwl 242b368d48 add offscreen window instead of render target of view 2019-04-08 14:34:09 +08:00
Leslie Leigh 0af81daac7 use joint texture only if in webgl1 (#4148) 2019-04-04 15:46:08 +08:00
Yun Hsiao Wu 608372e194 get rid of color uniform type (#4141) 2019-04-04 11:21:56 +08:00
Yun Hsiao Wu 36402bc1ea misc fix (#4136)
* fix orthoHeight & WebGL2 detect

* fix program key & render priority
2019-04-03 18:23:47 +08:00
Leslie Leigh 135b0ae129 joint uniform support 3x4 (#4134) 2019-04-03 16:15:34 +08:00
Leslie Leigh e46ad93c2a fix multi submodel skinning model component bug (#4127) 2019-04-02 19:36:25 +08:00
Leslie Leigh fdaaf22ea4 remove unused files (#4118)
* remove unused files

* typing
2019-03-30 18:18:08 +08:00
jerrywwl 4e80a3ad47 Merge branch '3d-stable' of https://github.com/cocos-creator/engine into 3d 2019-03-27 16:17:31 +08:00
zxg0622 daa2542ef9 add ui 3d model rendering (#4108) 2019-03-27 15:26:57 +08:00
Yun Hsiao Wu 9403a19382 update resources on pipeline change (#4106)
...and get inspector on light component to work
2019-03-26 18:45:23 +08:00
SijieWang 668d21aa80 CCClass: Support unit and displayOrder (#4104) 2019-03-26 10:54:36 +08:00
Leslie Leigh 682c9d19dc Leslie (#4103)
* physics system use fixed frame-rate

* wakeup bodies before apply force and impulse
2019-03-26 00:12:28 +08:00
Yun Hsiao Wu 96d587d106 model customization & merge shadow bounds (#4102) 2019-03-25 18:31:01 +08:00
Yun Hsiao Wu 048347b25d fix luminance (#4094)
* fix web audio volume

* fix luminance
2019-03-25 13:53:39 +08:00
jerrywwl d8fc85fa4e fix texture creation error when texture size is zero 2019-03-22 13:57:24 +08:00
Yun Hsiao Wu 9d03bf4809 generate mipmap depend on mip filter (#4081) 2019-03-21 18:18:01 +08:00
zxg0622 986e4c5f64 modify flows in view (#4078) 2019-03-21 16:55:27 +08:00
zxg0622 685b44b1f9 fix particle destroy error (#4074) 2019-03-21 15:32:53 +08:00
Yun Hsiao Wu b7a02bb21b execute camera component (#4075) 2019-03-21 15:08:34 +08:00
zxg0622 0fab11ed5a modify ui renderpipeline (#4070) 2019-03-21 11:24:08 +08:00
Yun Hsiao Wu 7dc0bbef30 preview (#4071)
* yellow for missing effect

* default viewID
2019-03-21 00:18:29 +08:00
Leslie Leigh 255ba0601b fix skinning model material bug (#4067) 2019-03-20 15:15:48 +08:00
Leslie Leigh e5c94a04a8 fix bug (#4055) 2019-03-18 16:20:33 +08:00
Leslie Leigh b3e3ff2b3c move declaration files into @types; adapt sampler interface; fix comp… (#4051)
* move declaration files into @types; adapt sampler interface; fix compiler error

* typing asset/raw-asset

* compiler errors

* delete asset.d.ts

* change tsconfig-gendecls.json

* fix
2019-03-15 17:26:37 +08:00
Yun Hsiao Wu f882a4198e fix sampler & node (#4048) 2019-03-15 15:17:46 +08:00
zxg0622 c170469c07 adjust particle property order (#4043) 2019-03-14 19:44:37 +08:00
Leslie Leigh 8b62cab289 Support generate .d.ts (#4024)
* Support generate .d.ts

* change tsc error to console.error

* Remove ch comment

* js to ts
2019-03-13 18:25:20 +08:00
zxg0622 efdbc65240 fix tsc error (#4026) 2019-03-13 18:24:57 +08:00
Leslie Leigh a2416ba312 normalize the RaycastResult; allow rigidbody to sleep to prevent shake (#4028) 2019-03-13 18:21:15 +08:00
zxg0622 b3ae1e7767 fix bug (#4023)
* fix scene switch of editor camera

* optimize
2019-03-13 11:11:24 +08:00