-
Notifications
You must be signed in to change notification settings - Fork 24
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix(editor): fix "cube not affect by ambient light" bug
solution set pbrmaterial's default metalness to 0.0; refer to https://stackoverflow.com/questions/69821345/why-doesnt-the-3d-model-work-with-ambientlight
- Loading branch information
Showing
83 changed files
with
73 additions
and
60 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -471,8 +471,7 @@ https://www.grapecity.com.cn/blogs/wyn-3dmodel-bi-analize-data-visualization-sol | |
* DONE fix in it even though run in pc | ||
|
||
|
||
|
||
* TODO generate model | ||
* DONE generate model | ||
|
||
|
||
# ** TODO use CSG to generate wall with window | ||
|
@@ -488,15 +487,16 @@ https://www.grapecity.com.cn/blogs/wyn-3dmodel-bi-analize-data-visualization-sol | |
|
||
** DONE feat: add empty gameObject to scenetree | ||
|
||
** TODO fix Cube's normal | ||
# ** TODO fix Cube's normal | ||
** DONE fix Cube not affect by ambient | ||
|
||
|
||
** TODO generate wall models(white) | ||
** DONE generate wall models(white) | ||
|
||
TODO use Cube as wall | ||
|
||
|
||
** TODO update ground | ||
** DONE update ground | ||
|
||
use gray color on one plane(cube) | ||
|
||
|
@@ -536,19 +536,45 @@ https://www.dhzn3d.com/?cat=&s=%E6%9F%9C | |
|
||
|
||
|
||
* TODO move all scripts, ui to published project; only use meta3d editor to build scene! | ||
|
||
TODO move Page out | ||
|
||
TODO scene only has one script: | ||
invoke script func implemented in published project | ||
|
||
|
||
TODO update publish action | ||
|
||
|
||
TODO script api add get scene, perspectiveCamera and three api | ||
|
||
|
||
|
||
* TODO update page position: use screen coordinate | ||
|
||
|
||
* TODO add Sprite(billboard) demo | ||
|
||
refer to: | ||
https://juejin.cn/post/7107223446999793695 | ||
|
||
|
||
|
||
|
||
* TODO update | ||
|
||
scenegraph | ||
# component-pbrmaterial | ||
|
||
# event | ||
|
||
# publish action | ||
|
||
# actions | ||
|
||
event | ||
# scenegraph | ||
|
||
# event | ||
|
||
|
||
|
||
|
@@ -565,6 +591,9 @@ TODO run test in mobile | |
|
||
|
||
|
||
* TODO arcball add pointer lock | ||
|
||
|
||
* TODO add 第一人称 走路 漫游 | ||
|
||
TODO use FirstPersonControl | ||
|
@@ -595,6 +624,8 @@ TODO update demmo | |
|
||
need get picture, size? | ||
|
||
TODO get picture in front, side, back | ||
|
||
|
||
refer to: | ||
https://www.tuguan.net/doc/scene-editor/createmodel/modeling/ | ||
|
@@ -610,11 +641,6 @@ https://www.tuguan.net/doc/scene-editor/createmodel/modeling/ | |
|
||
|
||
|
||
* TODO add Sprite(billboard) demo | ||
|
||
refer to: | ||
https://juejin.cn/post/7107223446999793695 | ||
|
||
|
||
|
||
* TODO add 3d ui(billboard or face to one direction) demo | ||
|
@@ -927,10 +953,8 @@ TODO add instance componenet | |
can add util functions! | ||
|
||
|
||
** TODO add transform gizmo | ||
|
||
|
||
** TODO add AssetBundle | ||
|
||
|
||
|
||
|
@@ -941,8 +965,10 @@ can add util functions! | |
|
||
|
||
|
||
** TODO add transform gizmo | ||
|
||
|
||
** TODO add AssetBundle | ||
|
||
|
||
** TODO add keyframe animation editor | ||
|
@@ -964,6 +990,9 @@ https://docs.unity3d.com/Packages/[email protected]/manual/index.html | |
** TODO add Stream Load | ||
|
||
|
||
** TODO improve model editor, 2d ui editor, data binding editor | ||
|
||
|
||
|
||
|
||
|
||
|
Empty file modified
0
packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/Main.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...cene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/config/ConfigUtils.bs.js
100755 → 100644
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file modified
0
...utes/meta3d-component-pbrmaterial/lib/es6_global/src/gameobject/AddPBRMaterialUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...utes/meta3d-component-pbrmaterial/lib/es6_global/src/gameobject/GetGameObjectsUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...omponent-pbrmaterial/lib/es6_global/src/gameobject/GetNeedDisposedPBRMaterialsUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...utes/meta3d-component-pbrmaterial/lib/es6_global/src/gameobject/GetPBRMaterialUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...utes/meta3d-component-pbrmaterial/lib/es6_global/src/gameobject/HasPBRMaterialUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...s/meta3d-component-pbrmaterial/lib/es6_global/src/gameobject/RemovePBRMaterialUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...3d-component-pbrmaterial/lib/es6_global/src/operate_component/ClonePBRMaterialUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...d-component-pbrmaterial/lib/es6_global/src/operate_component/CreatePBRMaterialUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...-component-pbrmaterial/lib/es6_global/src/operate_component/DisposePBRMaterialUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...-component-pbrmaterial/lib/es6_global/src/operate_component/GetAllPBRMaterialsUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...eta3d-component-pbrmaterial/lib/es6_global/src/operate_data/GetPBRMaterialDataUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...eta3d-component-pbrmaterial/lib/es6_global/src/operate_data/SetPBRMaterialDataUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...-component-pbrmaterial/lib/es6_global/src/type/PBRMaterialSharedArrayBufferDataType.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...ne-scene/contributes/meta3d-component-pbrmaterial/lib/es6_global/src/type/StateType.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...a3d-component-pbrmaterial/lib/es6_global/src/utils/OperateTypeArrayPBRMaterialUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
packages/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/Main.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/config/ConfigUtils.bs.js
100755 → 100644
Empty file.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file modified
0
.../contributes/meta3d-component-pbrmaterial/lib/js/src/gameobject/AddPBRMaterialUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
.../contributes/meta3d-component-pbrmaterial/lib/js/src/gameobject/GetGameObjectsUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...meta3d-component-pbrmaterial/lib/js/src/gameobject/GetNeedDisposedPBRMaterialsUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
.../contributes/meta3d-component-pbrmaterial/lib/js/src/gameobject/GetPBRMaterialUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
.../contributes/meta3d-component-pbrmaterial/lib/js/src/gameobject/HasPBRMaterialUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...ntributes/meta3d-component-pbrmaterial/lib/js/src/gameobject/RemovePBRMaterialUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...tes/meta3d-component-pbrmaterial/lib/js/src/operate_component/ClonePBRMaterialUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...es/meta3d-component-pbrmaterial/lib/js/src/operate_component/CreatePBRMaterialUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...s/meta3d-component-pbrmaterial/lib/js/src/operate_component/DisposePBRMaterialUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...s/meta3d-component-pbrmaterial/lib/js/src/operate_component/GetAllPBRMaterialsUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...ibutes/meta3d-component-pbrmaterial/lib/js/src/operate_data/GetPBRMaterialDataUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...ibutes/meta3d-component-pbrmaterial/lib/js/src/operate_data/SetPBRMaterialDataUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...s/meta3d-component-pbrmaterial/lib/js/src/type/PBRMaterialSharedArrayBufferDataType.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...ges/engine-scene/contributes/meta3d-component-pbrmaterial/lib/js/src/type/StateType.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...utes/meta3d-component-pbrmaterial/lib/js/src/utils/OperateTypeArrayPBRMaterialUtils.bs.js
100755 → 100644
Empty file.
2 changes: 1 addition & 1 deletion
2
packages/engine-scene/contributes/meta3d-component-pbrmaterial/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
36 changes: 18 additions & 18 deletions
36
packages/event/extensions/meta3d-event/dist/static/js/main.js
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
2 changes: 1 addition & 1 deletion
2
packages/three/extensions/meta3d-scenegraph-converter-three/package.json
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Empty file modified
0
utils/meta3d-component-worker-utils/lib/es6_global/src/DefaultGetDataUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...-component-worker-utils/lib/es6_global/src/directionlight/BufferDirectionLightUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...t-worker-utils/lib/es6_global/src/directionlight/CreateTypeArrayDirectionLightUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...-worker-utils/lib/es6_global/src/directionlight/OperateTypeArrayDirectionLightUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
utils/meta3d-component-worker-utils/lib/es6_global/src/geometry/BufferGeometryUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...a3d-component-worker-utils/lib/es6_global/src/geometry/CreateTypeArrayGeometryUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
utils/meta3d-component-worker-utils/lib/es6_global/src/geometry/IndicesUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
utils/meta3d-component-worker-utils/lib/es6_global/src/geometry/NormalsUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...d-component-worker-utils/lib/es6_global/src/geometry/ReallocatedPointsGeometryUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
utils/meta3d-component-worker-utils/lib/es6_global/src/geometry/TangentsUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
utils/meta3d-component-worker-utils/lib/es6_global/src/geometry/TexCoordsUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
utils/meta3d-component-worker-utils/lib/es6_global/src/geometry/VerticesUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...meta3d-component-worker-utils/lib/es6_global/src/pbrmaterial/BufferPBRMaterialUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...mponent-worker-utils/lib/es6_global/src/pbrmaterial/CreateTypeArrayPBRMaterialUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...ponent-worker-utils/lib/es6_global/src/pbrmaterial/OperateTypeArrayPBRMaterialUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
utils/meta3d-component-worker-utils/lib/es6_global/src/transform/BufferTransformUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...d-component-worker-utils/lib/es6_global/src/transform/CreateTypeArrayTransformUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...eta3d-component-worker-utils/lib/es6_global/src/transform/ModelMatrixTransformUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...-component-worker-utils/lib/es6_global/src/transform/OperateTypeArrayTransformUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
utils/meta3d-component-worker-utils/lib/js/src/DefaultGetDataUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...s/meta3d-component-worker-utils/lib/js/src/directionlight/BufferDirectionLightUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...component-worker-utils/lib/js/src/directionlight/CreateTypeArrayDirectionLightUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...omponent-worker-utils/lib/js/src/directionlight/OperateTypeArrayDirectionLightUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
utils/meta3d-component-worker-utils/lib/js/src/geometry/BufferGeometryUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
utils/meta3d-component-worker-utils/lib/js/src/geometry/CreateTypeArrayGeometryUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
utils/meta3d-component-worker-utils/lib/js/src/geometry/IndicesUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
utils/meta3d-component-worker-utils/lib/js/src/geometry/NormalsUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
utils/meta3d-component-worker-utils/lib/js/src/geometry/ReallocatedPointsGeometryUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
utils/meta3d-component-worker-utils/lib/js/src/geometry/TangentsUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
utils/meta3d-component-worker-utils/lib/js/src/geometry/TexCoordsUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
utils/meta3d-component-worker-utils/lib/js/src/geometry/VerticesUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
utils/meta3d-component-worker-utils/lib/js/src/pbrmaterial/BufferPBRMaterialUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...eta3d-component-worker-utils/lib/js/src/pbrmaterial/CreateTypeArrayPBRMaterialUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...ta3d-component-worker-utils/lib/js/src/pbrmaterial/OperateTypeArrayPBRMaterialUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
utils/meta3d-component-worker-utils/lib/js/src/transform/BufferTransformUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
utils/meta3d-component-worker-utils/lib/js/src/transform/CreateTypeArrayTransformUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
utils/meta3d-component-worker-utils/lib/js/src/transform/ModelMatrixTransformUtils.bs.js
100755 → 100644
Empty file.
Empty file modified
0
...s/meta3d-component-worker-utils/lib/js/src/transform/OperateTypeArrayTransformUtils.bs.js
100755 → 100644
Empty file.