Commit Graph

28 Commits

Author SHA1 Message Date
Santy-Wang 55329652da reuse loaded asset in editor, avoid loading again (#4088) 2019-03-23 19:02:59 +08:00
SijieWang 3ebb694a6e Prevents an onLoaded error from causing a callback not to be executed (#4056) 2019-03-18 15:01:44 +08:00
Yun Hsiao Wu 1b2edaec93 audio system (#3937)
* audio adapt

* compile shaders as early as possible
2019-02-28 18:48:07 +08:00
Yun Hsiao Wu d7ee4b6aba builtin UBO pipe (#3931)
* shorter effect name

* audio adapt

* builtin UBO pipe

* modify global ubo in pipeline
2019-02-28 11:50:56 +08:00
Leslie 43a50721d9 fix uuid-item load error; modify CCDebug and path 2019-02-19 17:48:50 +08:00
Yun Hsiao Wu 3e8eb35072 misc bugfix and restructure 2019-01-23 11:04:19 +08:00
Yun Hsiao Wu 74fe021641 misc fix 2019-01-21 21:54:44 +08:00
Jone c39a390590 commit ui 2019-01-17 15:29:10 +08:00
Leslie Leigh 649906816f fix pack-downloader.js (#3715) 2019-01-04 17:00:41 +08:00
Yun Hsiao Wu 367ae4ad3c render to texture (#3662) 2018-12-21 14:16:24 +08:00
Santy-Wang 1a9a6e0de0 修改AssetLibrary初始化 (#3643) 2018-12-19 11:14:10 +08:00
Santy-Wang ac13fe5434 add an optional parameter named 'mount' to indicate in which folder you want to load asset (#3562) 2018-11-27 15:38:07 +08:00
Leslie Leigh 4da594d906 impl texture2d using imageasset (#3488)
* impl texture2d using imageasset

* texture-cube

* fix issue comment

* remove initWithElement and initWithData; fix issue comment

* define TextureUpdateOpts in gfx/texture-2d.js

* optimize some `new ImageAsset`; optimize image-asset; add updateMipmaps() to Texture2D

* use onLoaded, remove hack
2018-11-14 22:29:37 +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
Leslie Leigh 913c9013eb mesh rendering and skinning mesh rendering (#3362)
* Modify part of asset classes

* Update import

* Update

* mesh-loader

* Update the import statement of JsonAsset as default import

* Rename files

* Remove old asset and asset-mng

* Copyrights

* Fix some bugs

* Fix imports of vmath classes; Fix errors of decorator property's ts comment notation;Adjust the order of member declarations for better IDE intelligense

* Transplant loader of animation clip; Unify export statement style according rules

* Skeleton asset and SkeletonInstance class

* Rename

* Fix material annotation

* fix import path

* fix annotation error

* Rename update to flush, fix index.js files.

* support original gltf animation;use creator's texture2d instead

* Fix build issues

* Avoid system absent issue caused by ecs import

* add renderer to ccgame, add camera component

* apply stash

* fix predefine.js

* add renderable and rendersystem

* fix format

* Fix core/utils module

* Rename file and fix issues

* add renderer to ccgame, add camera component

* apply stash

* fix predefine.js

* add renderable and rendersystem

* fix format

* fix debug

* fix run errors

* Fix MutableForwardIterator not found issue

* Fix editor runtime issues

* Update 3d node API usage (need merge API in future)

* Temporarily comment out rendering code (need revert)

* add renderer to ccgame, add camera component

* apply stash

* fix predefine.js

* add renderable and rendersystem

* fix format

* fix debug

* fix run errors

* renderer can clear now

* 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

* fix cctouch error

* fix error, can not rendering

* model can be rendered

* fix for node api changing

* class rename

* clean up code

* add name to ccclass decorators; temporarily comment out vb/ib buffer creation in gltf-loader;temporarily modification of base-node.js

* Open commented vb/ib creation

* make gltf-asset itself a variant of json

* fix import bugs

* update

* import fix

* node transform api

* mesh renderer and skinning mesh renderer

* bug fix

* bug fix
2018-10-10 13:05:31 +08:00
Leslie Leigh cf213ebdd7 changes to run in editor (#3311)
* add name to ccclass decorators; temporarily comment out vb/ib buffer creation in gltf-loader;temporarily modification of base-node.js

* Open commented vb/ib creation

* make gltf-asset itself a variant of json

* fix import bugs

* import fix

* node transform api
2018-10-08 11:52:14 +08:00
pandamicro 7132e20b84 Fix editor running issues (#3280)
* Fix MutableForwardIterator not found issue

* Fix editor runtime issues

* Update 3d node API usage (need merge API in future)

* Temporarily comment out rendering code (need revert)
2018-09-19 17:33:04 +08:00
Huabing.Xu 164221b5a5 Renderer (#3278)
* add renderer to ccgame, add camera component

* apply stash

* fix predefine.js

* add renderable and rendersystem

* fix format

* fix debug

* fix run errors
2018-09-19 15:21:06 +08:00
pandamicro 77362915c2 Fix editor running issues (partial) (#3274)
* Fix editor running issues (partial)

* Fix core/utils module
2018-09-19 12:23:35 +08:00
pandamicro 7cdbfaf5f8 Fix build issues 2018-09-19 10:20:46 +08:00
pandamicro cd9b64672b Fix build issues (#3231) 2018-09-11 16:22:23 +08:00
pandamicro 6449068c41 ES6 modulize camera and components (#3230)
* Move profiler to 2d (rely on Label)

* Fix class name

* Fix super call and @property()

* ES6 modulize camera and components
2018-09-11 16:09:21 +08:00
pandamicro b90fbe9233 ES6 modulize load-pipeline (#3226)
* Fix super calls

* Improve Asset name access

* ES6 modulize load-pipeline
2018-09-10 19:29:20 +08:00
pandamicro 6b1e031dfb ES6 modulize assets (#3221)
* use babel instead of buble

* ES6 modulize assets
2018-09-09 23:49:25 +08:00
pandamicro cf812b0a6b ES6 modulize core/platform (#3216)
* ES6 modulize core/platform

* Fix some syntax issues
2018-09-07 17:19:41 +08:00
pandamicro 2e65ac93f0 ES6 modulize core/utils (#3204) 2018-09-06 14:07:49 +08:00
pandamicro f1d75e94d1 Merge branch 'v2.0-release' into v2-3d 2018-09-03 00:04:11 +08:00
pandamicro 6285147014 Reorganize modules 2018-08-30 23:10:27 +08:00