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
649906816f
fix pack-downloader.js ( #3715 )
2019-01-04 17:00:41 +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
gameu3d
dc4846687f
fix transform bug ( #3707 )
2019-01-03 18:06:51 +08:00
Weiliang Wang
e897fa6e7d
Merge pull request #3685 from zxg0622/particle
...
add particle system
2019-01-02 18:44:44 +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
Leslie Leigh
1b89e35dac
Small fix ( #3688 )
...
* revert user defined script menu
* texture default flipY
* Update texture-2d.js
2018-12-28 14:37:06 +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
Leslie Leigh
05ebe174fb
component menu ( #3682 )
2018-12-26 14:08:52 +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
04164f2767
fix node transform update ( #3661 )
2018-12-20 19:12:08 +08:00
pandamicro
33cae8d0af
Merge pull request #3651 from YunHsiao/transform
...
fix transform
2018-12-20 18:15:29 +08:00
Yun Hsiao Wu
1bbed51f26
fix transform & euler
2018-12-20 09:50:26 +08:00
Yun Hsiao Wu
148fc1a442
readPixels ( #3650 )
...
* better error reporting
* render texture
2018-12-19 14:17:52 +08:00
Santy-Wang
1a9a6e0de0
修改AssetLibrary初始化 ( #3643 )
2018-12-19 11:14:10 +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
17b5d9bda3
texture cube from texture2d ( #3624 )
...
* texture cube from texture2d
* fix format
2018-12-12 19:12:22 +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
Yun Hsiao Wu
6cffc59376
fix primitives ( #3613 )
...
* fix primitives
* defines & view clear color
2018-12-11 10:43:07 +08:00
Leslie Leigh
d69ab0b3ee
remove hack ( #3614 )
2018-12-10 17:02:30 +08:00
Leslie Leigh
0e08768802
upload joints info only when effect containning skinning function ( #3610 )
2018-12-09 22:55:52 +08:00
Leslie Leigh
5df8df4342
temp hack ( #3608 )
2018-12-07 16:59:51 +08:00
Leslie Leigh
578e811a82
animation in editor v3 ( #3604 )
...
* 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
* animation in editor v3
2018-12-07 14:47:27 +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
58e59701ba
Unified effect/shader assets ( #3559 )
...
* modify render piplien p1
* new effect format
* minor refactor
* mod render pipelien p1
* process queues and stages offline
* choose tech on load
* fix second pass
* modify render pipeline p2
* minor
* stage item default
* support render queue below opaque constant
* fix shadow stage in new render pipeline
* unified shader assets
* unified shader assets: parser
* add technique lod
* unified shader assets: pipeline
* fix some defect
* fix some defect
* fix effect asset cid
* game init
* minor fix
2018-12-03 13:59:36 +08:00
Leslie Leigh
2c7e120d14
default material use phone effect;fix skinning model bug ( #3571 )
...
* 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
* default material use phone effect;fix skinning model bug
2018-11-29 18:23:04 +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
Yun Hsiao Wu
48e9606f0c
adaptations for new editor ( #3513 )
...
* HideInHierarchy
* resetHasChanged
* dont inherit skybox from RenderableComponents
* transform changed event
2018-11-21 10:52:26 +08:00
Yun Hsiao Wu
4644779ad7
new shader format ( #3505 )
...
* new shader format
* neW effect file extension
2018-11-21 10:47:56 +08:00
Leslie Leigh
030453cb9e
rename package ( #3535 )
...
* 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
* rename package
2018-11-20 17:42:49 +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
zxg0622
d37e6340cd
ajust material reference ( #3471 )
2018-11-07 10:48:15 +08:00
Yun Hsiao Wu
51c700f86c
fix material ( #3470 )
2018-11-06 16:11:30 +08:00
zxg0622
96ee66123b
change builtin effect load ( #3459 )
2018-11-05 19:39:13 +08:00
Yun Hsiao Wu
4dd415342b
node, light, texture-cube ( #3460 )
...
* node, light, texture-cube
* skybox
* flipY issue
* mouse data when locked
* fix init info
2018-11-05 18:51:22 +08:00
Yun Hsiao Wu
1549912c48
fix parseType ( #3466 )
2018-11-05 18:08:24 +08:00
Leslie Leigh
3f972a4d3c
define mesh its own format; improve the robust of gltf-utils; now the standard gltf can be imported ( #3435 )
...
* uuid-loader.js
* Make camera-component is available in previewing;
Remove onLoad of mesh asset class, instead do its content in model-component and skinning-model-component's _updateModels method.
* define mesh its own format; improve the robust of gltf-utils; now the standard gltf can be imported
* typo
* bugfix
* material serialization;gltf material import; fix animation component bug
* cinnebt
* remove skeleton root
* small fix
* bug fix
* remove the hack materials
* small fix
2018-11-05 17:48:24 +08:00
Yun Hsiao Wu
12ef67f6b4
area lighted gizmos ( #3451 )
...
* area lighted gizmos
* better effect parsing
* logical OR in shader info extraction
2018-11-02 11:06:53 +08:00
Yun Hsiao Wu
e540797785
new adaptations for gizmos ( #3438 )
...
* gizmos adapt
* working texture cube
* misc fixes
* gizmo lighting
2018-10-31 11:54:58 +08:00
zxg0622
0931e808c7
fix get material instance bug ( #3444 )
2018-10-31 10:00:52 +08:00