# webgl-su7 **Repository Path**: beiwangai/webgl-su7 ## Basic Information - **Project Name**: webgl-su7 - **Description**: 演示如何在网页中加载小米 SU7 的模型 - **Primary Language**: NodeJS - **License**: Not specified - **Default Branch**: master - **Homepage**: None - **GVP Project**: No ## Statistics - **Stars**: 0 - **Forks**: 0 - **Created**: 2024-12-26 - **Last Updated**: 2024-12-26 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # webgl-su7 ## 介绍 演示如何在网页中加载小米 SU7 的模型 ## 使用说明 ### 下载代码到本地 ``git clone https://gitee.com/beiwangai/webgl-su7.git`` ### 如何预览网页 在 webgl-su7 目录中运行``npx serve .``,然后在浏览器中打命令行中的网址。 或者在 VSCode 中打开 webgl-su7 目录,安装 Live Preview 插件后,打开 index.html,即可在右上方点击 ``Open Preview to the Side`` 按钮进行预览。 ### 如何替换模型 将 glb 格式的模型文件放在 public/ 目录下,替换 index.html 中 loader.load 中的文件路径来更改要加载的模型