diff --git a/info/1111111111111.jpg b/info/1111111111111.jpg new file mode 100644 index 0000000..a1ef491 Binary files /dev/null and b/info/1111111111111.jpg differ diff --git a/info/迁移目标.md b/info/迁移目标.md new file mode 100644 index 0000000..11fb17f --- /dev/null +++ b/info/迁移目标.md @@ -0,0 +1,21 @@ +1. 脚本系统 支持编写代码脚本进行逻辑交互支持(升级后的) + +2. GLTF轻量化工具 对GLTF格式模型进行轻量化处理,轻量化率达50%以上(升级后的) + +3. 数据组件 支持注册数据源,并驱动模型进行可视化展示 + +4. 分包打包 支持ktx2等格式纹理打包,拥有更快的打包速度和更小的包体积(升级后的) + +5. 离线包 导出和加载场景离线包,支持项目二次开发 + +6. 扩展3D对象 热力图、U面板、动态路径、水池 + + +```text +把 Astral项目的 Astral/3d/editor/src/views/editor/components/extraPane/resource/builtin/Expansion.vue +迁移到 TkAstral3D/packages/editor/src/views/editor/components/extraPane/resource/builtin 下 +要保证扩展中所有相关功能正常 + +``` + + diff --git a/packages/docs/src/.vuepress/navbar.ts b/packages/docs/src/.vuepress/navbar.ts index eb975bb..d6f084c 100644 --- a/packages/docs/src/.vuepress/navbar.ts +++ b/packages/docs/src/.vuepress/navbar.ts @@ -7,10 +7,10 @@ export const navbar = defineNavbarConfig([ icon: 'icon-park-outline:guide-board', link: '/notes/guide/quick-start/介绍.md', }, - { text: 'SDK', link: '/notes/sdk/README.md', icon: 'carbon:api' }, + { text: 'SDK', link: '/notes/sdk/迁移目标.md', icon: 'carbon:api' }, { text: '示例', link: 'https://examples.astraljs.com/', icon: 'carbon:carbon-for-ibm-dotcom' }, - { text: '推广中心', link: '/notes/promotion/README.md', icon: 'mdi:star-shooting-outline' }, - { text: '商务合作', link: '/notes/cooperation/README.md', icon: 'carbon:partnership' }, + { text: '推广中心', link: '/notes/promotion/迁移目标.md', icon: 'mdi:star-shooting-outline' }, + { text: '商务合作', link: '/notes/cooperation/迁移目标.md', icon: 'carbon:partnership' }, { text: '更多', icon: 'icon-park-outline:more-three', @@ -22,8 +22,8 @@ export const navbar = defineNavbarConfig([ text: `${version}`, icon: 'codicon:versions', items: [ - { - text: '更新日志', + { + text: '更新日志', link: '/notes/update/logs/', } ], diff --git a/packages/editor/public/static/images/resource/expansion/heatmap/flatHeatmap.jpg b/packages/editor/public/static/images/resource/expansion/heatmap/flatHeatmap.jpg new file mode 100644 index 0000000..12d0a3c Binary files /dev/null and b/packages/editor/public/static/images/resource/expansion/heatmap/flatHeatmap.jpg differ diff --git a/packages/editor/public/static/images/resource/expansion/heatmap/heightHeatmap.jpg b/packages/editor/public/static/images/resource/expansion/heatmap/heightHeatmap.jpg new file mode 100644 index 0000000..0e82169 Binary files /dev/null and b/packages/editor/public/static/images/resource/expansion/heatmap/heightHeatmap.jpg differ diff --git a/packages/editor/public/static/images/resource/expansion/path/diffuse.jpg b/packages/editor/public/static/images/resource/expansion/path/diffuse.jpg new file mode 100644 index 0000000..eeb444d Binary files /dev/null and b/packages/editor/public/static/images/resource/expansion/path/diffuse.jpg differ diff --git a/packages/editor/public/static/images/resource/expansion/path/flow.png b/packages/editor/public/static/images/resource/expansion/path/flow.png new file mode 100644 index 0000000..cf391fb Binary files /dev/null and b/packages/editor/public/static/images/resource/expansion/path/flow.png differ diff --git a/packages/editor/public/static/images/resource/expansion/path/light.png b/packages/editor/public/static/images/resource/expansion/path/light.png new file mode 100644 index 0000000..c3d18a2 Binary files /dev/null and b/packages/editor/public/static/images/resource/expansion/path/light.png differ diff --git a/packages/editor/public/static/images/resource/expansion/uipanel/uipanel.svg b/packages/editor/public/static/images/resource/expansion/uipanel/uipanel.svg new file mode 100644 index 0000000..df3f769 --- /dev/null +++ b/packages/editor/public/static/images/resource/expansion/uipanel/uipanel.svg @@ -0,0 +1,8 @@ + + + + + + UIPanel + WYSIWYG + diff --git a/packages/editor/public/static/images/resource/expansion/water/circularWaterSurface.jpg b/packages/editor/public/static/images/resource/expansion/water/circularWaterSurface.jpg new file mode 100644 index 0000000..141433c Binary files /dev/null and b/packages/editor/public/static/images/resource/expansion/water/circularWaterSurface.jpg differ diff --git a/packages/editor/public/static/images/resource/expansion/water/cylinderWaterPool.jpg b/packages/editor/public/static/images/resource/expansion/water/cylinderWaterPool.jpg new file mode 100644 index 0000000..be1d78a Binary files /dev/null and b/packages/editor/public/static/images/resource/expansion/water/cylinderWaterPool.jpg differ diff --git a/packages/editor/public/static/images/resource/expansion/water/cylinderWaterPoolVolume.jpg b/packages/editor/public/static/images/resource/expansion/water/cylinderWaterPoolVolume.jpg new file mode 100644 index 0000000..51abc9e Binary files /dev/null and b/packages/editor/public/static/images/resource/expansion/water/cylinderWaterPoolVolume.jpg differ diff --git a/packages/editor/public/static/images/resource/expansion/water/squareWaterPool.jpg b/packages/editor/public/static/images/resource/expansion/water/squareWaterPool.jpg new file mode 100644 index 0000000..a4c5964 Binary files /dev/null and b/packages/editor/public/static/images/resource/expansion/water/squareWaterPool.jpg differ diff --git a/packages/editor/public/static/images/resource/expansion/water/squareWaterPoolVolume.jpg b/packages/editor/public/static/images/resource/expansion/water/squareWaterPoolVolume.jpg new file mode 100644 index 0000000..7bc3fde Binary files /dev/null and b/packages/editor/public/static/images/resource/expansion/water/squareWaterPoolVolume.jpg differ diff --git a/packages/editor/public/static/images/resource/expansion/water/squareWaterSurface.jpg b/packages/editor/public/static/images/resource/expansion/water/squareWaterSurface.jpg new file mode 100644 index 0000000..ebedf22 Binary files /dev/null and b/packages/editor/public/static/images/resource/expansion/water/squareWaterSurface.jpg differ diff --git a/packages/editor/src/language/zh-CN-en-US.ts b/packages/editor/src/language/zh-CN-en-US.ts index 9892eed..ecf9ebb 100644 --- a/packages/editor/src/language/zh-CN-en-US.ts +++ b/packages/editor/src/language/zh-CN-en-US.ts @@ -1081,6 +1081,24 @@ export default { // 其他 'Dragon':"龙", }, + "Expansion": "扩展", + expansion: { + "Heat map": "热力图", + "Path": "路径", + "Flat heatmap": "平面热力图", + "Elevation heatmap": "高程热力图", + "Flow path": "流动路径", + "Flowing light path": "流光路径", + "Tube path": "管道路径", + "UI Panel": "UI面板", + "Water": "水体", + "Circular Water Surface": "圆形水面", + "Cylinder Water Pool": "圆柱水池", + "Cylinder Water Pool Volume": "圆柱水池体", + "Square Water Surface": "方形水面", + "Square Water Pool": "方形水池", + "Square Water Pool Volume": "方形水池体", + }, "Light": '灯光', "Camera": '相机', } diff --git a/packages/editor/src/views/editor/components/extraPane/resource/builtin/Expansion.vue b/packages/editor/src/views/editor/components/extraPane/resource/builtin/Expansion.vue new file mode 100644 index 0000000..e11b93d --- /dev/null +++ b/packages/editor/src/views/editor/components/extraPane/resource/builtin/Expansion.vue @@ -0,0 +1,641 @@ + + + + + diff --git a/packages/editor/src/views/editor/components/extraPane/resource/builtin/index.vue b/packages/editor/src/views/editor/components/extraPane/resource/builtin/index.vue index fba6d81..7a23e54 100644 --- a/packages/editor/src/views/editor/components/extraPane/resource/builtin/index.vue +++ b/packages/editor/src/views/editor/components/extraPane/resource/builtin/index.vue @@ -29,7 +29,7 @@