Commit Graph

88 Commits

Author SHA1 Message Date
Yun Hsiao Wu 261c25fa34 fix model OnDisable 2019-01-21 17:26:24 +08:00
Yun Hsiao Wu 34cfd8ae6b material defines 2019-01-21 16:58:20 +08:00
zhuxuguang b456121905 adapt particle submodel 2019-01-21 16:24:17 +08:00
zhuxuguang 7a1c1436cc add submodel 2019-01-17 17:30:07 +08:00
Yun Hsiao Wu 8baa11b114 bugfix 2019-01-17 16:13:38 +08:00
Yun Hsiao Wu b8aa50019e no default min/max position 2019-01-16 17:56:55 +08:00
Yun Hsiao Wu aa6cd0f636 type for renderable comp 2019-01-16 17:32:06 +08:00
zhuxuguang 2fde7f098d add particle model 2019-01-15 18:58:55 +08:00
Leslie 437755c5a2 fix ts errors 2019-01-15 11:13:24 +08:00
Leslie 0ac050b843 renderable-component.js: rename to ts, tslint autofix 2019-01-15 11:11:52 +08:00
Yun Hsiao Wu fc05fdcf47 minor 2019-01-14 18:05:32 +08:00
Yun Hsiao Wu 0855268766 pass: rebuild with overrides 2019-01-14 17:11:03 +08:00
Leslie 71e8d22c16 module exports 2019-01-14 12:43:45 +08:00
Leslie c3be94b6c6 adjust texture assets' struct, put most create logic to texture-base 2019-01-14 10:52:45 +08:00
Yun Hsiao Wu 4110f91946 editor adapt 2019-01-11 16:53:27 +08:00
Yun Hsiao Wu 9520e3dc5d target display on camera-component 2019-01-11 10:30:04 +08:00
Yun Hsiao Wu 5d46714c3d camera with view 2019-01-10 21:43:25 +08:00
Yun Hsiao Wu 852d4ec1a6 node from compoennt 2019-01-10 20:37:37 +08:00
Yun Hsiao Wu f099e500c3 node & camera refactor 2019-01-10 20:07:22 +08:00
zhuxuguang 224c842a8b adapt model to new mesh 2019-01-10 18:12:21 +08:00
zhuxuguang 324914df02 fix model bug 2019-01-10 14:32:10 +08:00
zhuxuguang 7c6d60c60c fix some defects 2019-01-09 20:56:57 +08:00
Weiliang Wang 67c803a3ff Merge pull request #18 from zxg0622/rndComp
fix model
2019-01-08 20:11:38 +08:00
zhuxuguang 6172f7d23b fix model 2019-01-08 19:58:52 +08:00
Weiliang Wang d38733f6a4 Merge pull request #15 from zxg0622/rndComp
adapt model
2019-01-08 17:51:21 +08:00
zhuxuguang 6af7b4cf74 adapt model 2019-01-08 17:27:06 +08:00
Yun Hsiao Wu d76d93fae1 merge origin 2019-01-08 17:14:17 +08:00
Yun Hsiao Wu e1d84783a4 Merge branch '3d' of https://github.com/cocos-creator/engine into gfx 2019-01-08 16:56:38 +08:00
Yun Hsiao Wu 06eb5d8060 fix tsc errors 2019-01-08 16:38:26 +08:00
zxg0622 6d0ed8e19f fix particle bugs (#3705)
* add particle default property

* fix some bug
2019-01-08 11:58:10 +08:00
Yun Hsiao Wu 132ca6e05b [API BREAKING] material with passes 2019-01-07 19:39:21 +08:00
Leslie Leigh 4fa9f07f33 auto pull transform when node rebind to body or body added to world. (#3706) 2019-01-07 14:20:19 +08:00
Leslie Leigh f10fbdf265 fix exports/add triple directive (#3717) 2019-01-07 12:41:24 +08:00
Leslie Leigh 6050a2aefc donot use global namespace Vec3, use import instead; fix wrong import head (#3716)
* donot use global namespace Vec3, use import instead

* fix wrong import head

* fix module bits export
2019-01-04 19:24:45 +08:00
Leslie Leigh 4488d0d363 Vmath (#3700)
* * do not run phy system in editor
* support center of phy shape
* fix setWorldPosition() bug

* add interface pullTransform() for sync dynamic phy body's transform

* rename to ts

* remove type in jsdoc annotation

* set indent to 4

* tslint auto fix

* tslint auto fix

* update bits.ts

* update package.json;update vecs, quat and util.

* correct exporting/importing in index.js/export renderer as non-default because dumplicated Scene export

* components exporting
2019-01-03 18:50:17 +08:00
jerrywwl 41895251ee merge 2019-01-02 19:05:51 +08:00
Weiliang Wang e897fa6e7d Merge pull request #3685 from zxg0622/particle
add particle system
2019-01-02 18:44:44 +08:00
zhuxuguang 08a0cf761c adapt render scene in components 2019-01-02 17:52:35 +08:00
Leslie Leigh cf180d57d9 do not run phy system in editor;support center of phy shape;fix setWorldPosition() bug (#3690)
* * do not run phy system in editor
* support center of phy shape
* fix setWorldPosition() bug

* add interface pullTransform() for sync dynamic phy body's transform
2019-01-02 16:51:01 +08:00
zhuxuguang d1ce6a8d8b add particle system 2018-12-27 15:00:36 +08:00
Leslie Leigh 3ed9edfbc6 phy framework (#3644)
* phy framework

* phy mat

* framework/index.ts

* a node can have more than one collider

* rename physical to physics

* fix

* fix

* support mix ts js

* fix

* fix problems in issue

* fix

* remove RigidBodyType, add DataFlow

* useGravity, freezeRotation, isKinematic

* raycasts

* fit buildin-world raycast options

* add contact material

* lint

* add rigid-body-component.ts

* some improvements

* improvements

* fix bug
2018-12-27 12:03:10 +08:00
Yun Hsiao Wu 4ef8426b36 resizable buffers (#3674) 2018-12-25 11:29:37 +08:00
Yun Hsiao Wu edf53462fa more robust editor preview (#3666) 2018-12-21 15:42:35 +08:00
Yun Hsiao Wu 367ae4ad3c render to texture (#3662) 2018-12-21 14:16:24 +08:00
Yun Hsiao Wu ec9bf142a1 builtin defines (#3633) 2018-12-14 15:51:28 +08:00
Yun Hsiao Wu a9110d6d6b fix builtin effects (#3627)
* texture cube serialization

* rebase

* rebase

* fix builtin effects

* minor

* fix texture cube

* texture serialize

* camera clear flag enum

* fix format
2018-12-14 14:18:37 +08:00
Yun Hsiao Wu a1644369aa register effect on loaded (#3622) 2018-12-12 14:47:36 +08:00
Yun Hsiao Wu 2dc989e70e fix defines (#3618)
* fix defines

* fix material copy
2018-12-11 16:19:21 +08:00
Leslie Leigh d69ab0b3ee remove hack (#3614) 2018-12-10 17:02:30 +08:00
Leslie Leigh 5df8df4342 temp hack (#3608) 2018-12-07 16:59:51 +08:00