# 3ds **Repository Path**: dyh1183/backup ## Basic Information - **Project Name**: 3ds - **Description**: three.js加载3d模型,模型文件格式为obj,材质格式为mtl - **Primary Language**: HTML - **License**: Not specified - **Default Branch**: master - **Homepage**: https://dyh1183.gitee.io/3d/index.html - **GVP Project**: No ## Statistics - **Stars**: 10 - **Forks**: 0 - **Created**: 2019-07-20 - **Last Updated**: 2025-02-28 ## Categories & Tags **Categories**: Uncategorized **Tags**: None ## README # 3d #### 介绍 该项目是通过three.js实现3D图图像的加载。支持的3D文件类型为.obj格式,内部也有支持json格式的代码 #### 软件架构 纯前端,html+js+three.js #### 安装教程 1. 该项目访问需要依赖于容器,不支持直接打开html文件进行访问。 2. 部署方式,该项目采用tomcat进行部署,将其放在tomcat的webapp/ROOT目录下 3. 启动tomcat 4. 本地访问模型列表路径为,http://localhost:8080/3d/index.html 5. [点击预览全部](https://dyh1183.gitee.io/3d/index.html) #### 使用说明 1. 该项目index.html只是所有模型的列表。主要功能不在此处。 2. 码云访问路径为: https://dyh1183.gitee.io/3d 3. 该项目现有模型有20多个。 4. 3D模型图片样例如下: - 这里是列表文本望远镜3D模型 ![输入图片说明](https://images.gitee.com/uploads/images/2019/0721/162544_b56a907f_1732571.png "屏幕截图.png") - 这里是列表文本相机3D模型 ![输入图片说明](https://images.gitee.com/uploads/images/2019/0721/162637_54c69b3e_1732571.png "屏幕截图.png") - 这里是列表文本笔筒3D模型 ![输入图片说明](https://images.gitee.com/uploads/images/2019/0721/162705_679d9dcc_1732571.png "屏幕截图.png") #### 参与贡献 1. Fork 本仓库 2. 新建 Feat_xxx 分支 3. 提交代码 4. 新建 Pull Request #### 码云特技 1. 使用 Readme\_XXX.md 来支持不同的语言,例如 Readme\_en.md, Readme\_zh.md 2. 码云官方博客 [blog.gitee.com](https://blog.gitee.com) 3. 你可以 [https://gitee.com/explore](https://gitee.com/explore) 这个地址来了解码云上的优秀开源项目 4. [GVP](https://gitee.com/gvp) 全称是码云最有价值开源项目,是码云综合评定出的优秀开源项目 5. 码云官方提供的使用手册 [https://gitee.com/help](https://gitee.com/help) 6. 码云封面人物是一档用来展示码云会员风采的栏目 [https://gitee.com/gitee-stars/](https://gitee.com/gitee-stars/)