GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - zybkpro/Babylon-SmartMall: Vue3 + Babylon.js 商场数字孪生 | 运维总览 | 路径漫游 | 点击贴地行走

BranchesTags
Open more actions menu

Latest commit

 

History

5 Commits
5 Commits

Folders and files

NameName
Last commit message
Last commit date
.github/workflows
.github/workflows
 
 
data
data
 
 
docs
docs
 
 
public
public
 
 
scripts
scripts
 
 
src
src
 
 
.editorconfig
.editorconfig
 
 
.env.development
.env.development
 
 
.env.production
.env.production
 
 
.gitignore
.gitignore
 
 
.prettierignore
.prettierignore
 
 
.prettierrc.json
.prettierrc.json
 
 
README.md
README.md
 
 
index.html
index.html
 
 
package-lock.json
package-lock.json
 
 
package.json
package.json
 
 
postcss.config.js
postcss.config.js
 
 
tsconfig.json
tsconfig.json
 
 
tsconfig.node.json
tsconfig.node.json
 
 
vite.config.js
vite.config.js
 
 

Repository files navigation

BabylonJS · SmartMall

GitHub stars Demo

关键词: 数字孪生 · Babylon.js · Vue3 大屏 · 商场可视化 · 路径漫游 · WebGL

棕榈商场可视化大屏:Vue3 + Babylon.js 数字孪生演示(运维总览、路径漫游、点击贴地行走、昼夜切换)。

在线演示

  • GitHub Pages

预览

Babylon SmartMall 预览 Babylon SmartMall 预览 Babylon SmartMall 预览

▶ 在线体验

功能一览

模块 说明
3D 场景 Draco glTF、六面天空盒、.env IBL
运维面板 客流 / 能耗 / 告警 / 分区视角 / 店铺与设备详情
路径漫游 src/utils/line.js 固定路线,不可绘制
点击行走 地面拾取与路径坐标一致,相机贴地移动(同漫游姿态)
昼夜 顶栏单按钮切换(默认白天,按钮显示「夜晚」)

适用场景

商场 / 园区数字孪生 Demo、WebGL 大屏交付原型、Babylon.js + Vue3 技术演示与学习参考。

快速开始

npm install
npm run dev

默认关闭鉴权(VITE_AUTH_REQUIRED=false),打开即可进入商场场景。

npm run build

产物在 dist/。生产 base 为 ./,适配 GitHub Pages。

关键资源

目录 用途
public/gltf/ 业务模型(当前:城市3_draco.glb)
public/draco/ 本地 Draco 解码器
public/skybox/ 六面天空盒(jpg)
public/env/ 预过滤 IBL

更换主模型:编辑 src/components/SceneCanvas.vue 中的 MODEL_URLS(请使用 import.meta.env.BASE_URL 前缀)。

目录结构

src/
  babylon/       # 引擎脚手架:场景 / 相机 / 拾取 / 标签
  mall/          # 商场业务:运维、漫游、地面拾取、特效
  components/    # SceneCanvas、Header、详情卡、历史曲线
  views/         # Home / Login
  utils/line.js  # 固定巡检路线数据
public/          # 静态 3D 资源(见上表)
docs/            # SEO / Topics / 预览图
data/            # 文案 Markdown(大视频已 gitignore)

部署

GitHub Pages

https://zybkpro.github.io/Babylon-SmartMall/

推送到 main 后 Actions 自动部署;Settings → Pages → Source = GitHub Actions。

配置清单见 docs/GITHUB_SEO.md。

认证

.env.development / .env.production:

  • VITE_AUTH_REQUIRED=false:不拦路由(当前默认)
  • VITE_AUTH_REQUIRED=true:需登录;可配 VITE_AUTH_DEMO 与 VITE_AUTH_* 对接接口

脚本

命令 说明
npm run dev 自动选空闲端口启动
npm run build 生产构建
npm run build:check vue-tsc + 构建
npm run preview 本地预览构建产物

素材来源

项目中的 3D 模型来自 ZYBK Pro 素材中心(大屏组件、三维资源、HDR 等可按分类筛选下载)。

Star

如果这个项目对你有帮助,欢迎点个 Star ⭐ 支持一下。

License

Private · 仅供学习与展示参考

About

Vue3 + Babylon.js 商场数字孪生 | 运维总览 | 路径漫游 | 点击贴地行走

zybkpro.github.io/Babylon-SmartMall/

Topics

3dbabylonjsdashboarddata-visualizationdigital-twingithub-pageslarge-screenpath-roamingsmart-malltypescriptvitevue3webgl

Resources

Readme
Activity

Stars

0 stars

Watchers

0 watching

Forks

0 forks
Report repository

Releases

Packages

Contributors

Languages

You are visitor 01402792 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.