Commit Graph

31 Commits

Author SHA1 Message Date
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
Leslie Leigh 4e062977bc tslint (#4006)
* tslint

* fix node decl errors

* fix decl error
2019-03-11 23:52:17 +08:00
Yun Hsiao Wu 23573ad407 performance improves 2019-02-18 15:30:30 +08:00
Yun Hsiao Wu a404510a28 uniform array 2019-01-23 19:01:52 +08:00
Yun Hsiao Wu d2e2c14b2f render priority 2019-01-22 15:13:11 +08:00
Yun Hsiao Wu 1132c477dc fix raycast 2019-01-18 16:45:37 +08:00
Jone c39a390590 commit ui 2019-01-17 15:29:10 +08:00
Yun Hsiao Wu 4110f91946 editor adapt 2019-01-11 16:53:27 +08:00
Yun Hsiao Wu e1d5205024 Merge branch '3d' of https://github.com/cocos-creator/engine into gfx 2019-01-11 10:35:18 +08:00
Yun Hsiao Wu f099e500c3 node & camera refactor 2019-01-10 20:07:22 +08:00
jerrywwl 2ba51db195 add ubo common header 2019-01-09 14:10:00 +08:00
jerrywwl 7d3220bf78 Merge branch '3d' of https://github.com/jerrywwl/engine into 3d 2019-01-08 20:02:39 +08:00
jerrywwl b89c771290 add rotate function to node 2019-01-08 19:56:51 +08:00
Leslie Leigh 2e986acb37 fix-quat-error (#3725)
* fix-quat-error

* fix module error
2019-01-08 19:25:15 +08:00
Leslie 69f38e6da6 add rect.ts 2019-01-08 19:07:27 +08:00
jerrywwl d0eade4621 fix compilation error 2019-01-08 17:49:32 +08:00
Yun Hsiao Wu 31987ffefd merge latest 2019-01-08 17:28:14 +08:00
Yun Hsiao Wu 219872a522 Merge branch '3d' of https://github.com/jerrywwl/engine into gfx 2019-01-08 17:22:20 +08:00
jerrywwl dcdef09d6f add GFXDevice.copyFramebufferToBuffer() 2019-01-08 16:46:06 +08:00
jerrywwl 83b242892c fix floating uniform comparison bug 2019-01-08 14:22:54 +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 f19880354e apply tslint: add space before function params (#3710)
* add tslint.json

* apply tslint: add space before function params
2019-01-03 19:27:36 +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
Yun Hsiao Wu 1850cabe7b Effect Improvements (#3599)
* default material

* remove effects

* better builtin effects

* builtin primitives

* fix material

* builtin uniforms

* fix percision
2018-12-07 14:38:53 +08:00
Yun Hsiao Wu 64adf77910 Maintain Node EulerAngles & Effect Asset interface (#3574)
* node euler

* transparent sort

* fix node dirty

* fix material onLoaded

* effect asset uuid get

* dont store effectName in material
2018-12-05 17:52:21 +08:00
Yun Hsiao Wu da885ac40a effect improvements (#3480)
* effect (de)serialization

* more GL params to configure in effect

* uniform tags

* material (de)serialization

* switch to json solution

* effect: pass default value to editor too

* minor fix

* use default (de)serialization procedure

* async builtin init only
2018-11-13 15:12:02 +08:00
Yun Hsiao Wu 4d99992908 new material json format (#3422)
* auto-generate shader infos

* remove define jsons

* program-lib

* new effect format

* first working version

* structure adjust, enable type dependency extraction
2018-10-26 11:47:06 +08:00
Yun Hsiao Wu 88d8345358 fix eulerAngles 2018-09-25 14:48:16 +08:00
Yun Hsiao Wu ce920ebaff per-primitive raycast for editor (#3279)
* misc fixes in vmath

better vector random sampling
custom w in vec3.transformMat4

* prepare geometry data in editor mode

* per-primitive raycast for editor

* fix dependencies
2018-09-20 16:30:19 +08:00
pandamicro 3dc82886dc ES6 modulize core/event (#3206)
* Move vmath to core

* ES6 modulize core/event
2018-09-06 15:07:49 +08:00