3dio 中文文档教程

发布于 3年前 浏览 31 项目主页 更新于 3年前

室内应用工具包

Basic Example

< a href="https://3dio-aframe.glitch.me">运行演示

<!DOCTYPE html>
<html>
<head>
  <script src="https://aframe.io/releases/0.7.1/aframe.min.js"></script>
  <script src="https://dist.3d.io/3dio-js/1.1.x/3dio.min.js"></script>
</head>
<body>
<a-scene>
  <!-- A-Frame Components Loading Content from 3d.io -->
  <a-entity io3d-data3d="key:/fd72bf39-9d3a-471f-a4ff-ecaa3f5ff30b/bake/2017-04-15_22-45-14_XsiltX/regular/lighting.gz.data3d.buffer" position="0 -5 -6"></a-entity>
  <a-entity io3d-furniture="id:10a54bcf-3b9c-4518-b7ea-81c4251cf5a4" position="-0.85 -5 -5.4"></a-entity>
</a-scene>
</body>
</html>

了解有关使用 3d.io 数据的更多信息

Documentation

在 https://furniture.3d.io https://3d.io/docs /api/1/

Install

Browser

<head>
  <!-- latest minor version -->
  <script src="https://dist.3d.io/3dio-js/1.x.x/3dio.min.js"></script>
</head>

Server

npm install 3dio --save

新手安装教程:

Features

https://www.npmjs.com/package/3dio/tutorial https://3d.io/#products

Use Cases

https: //3d.io/#use-cases

Contribute

安装本地开发环境:

  1. 克隆存储库:

    git clone https://github.com/archilogic-com/3dio-js.git ; cd ./3dio-js

  2. 安装全局包:

    npm install rollup -g ; npm install lite-server -g

  3. 安装本地包:

    npm install

  4. 运行本地开发服务器:

    npm start

  5. 运行测试:

    npm test

请遵循我们的贡献指南

构建状态

toolkit for interior apps

Basic Example

Run Demo

<!DOCTYPE html>
<html>
<head>
  <script src="https://aframe.io/releases/0.7.1/aframe.min.js"></script>
  <script src="https://dist.3d.io/3dio-js/1.1.x/3dio.min.js"></script>
</head>
<body>
<a-scene>
  <!-- A-Frame Components Loading Content from 3d.io -->
  <a-entity io3d-data3d="key:/fd72bf39-9d3a-471f-a4ff-ecaa3f5ff30b/bake/2017-04-15_22-45-14_XsiltX/regular/lighting.gz.data3d.buffer" position="0 -5 -6"></a-entity>
  <a-entity io3d-furniture="id:10a54bcf-3b9c-4518-b7ea-81c4251cf5a4" position="-0.85 -5 -5.4"></a-entity>
</a-scene>
</body>
</html>

Learn more about using 3d.io data at https://furniture.3d.io

Documentation

https://3d.io/docs/api/1/

Install

Browser

<head>
  <!-- latest minor version -->
  <script src="https://dist.3d.io/3dio-js/1.x.x/3dio.min.js"></script>
</head>

Server

npm install 3dio --save

Installation tutorial for beginners: https://www.npmjs.com/package/3dio/tutorial

Features

https://3d.io/#products

Use Cases

https://3d.io/#use-cases

Contribute

Install local dev environment:

  1. Clone repository:

    git clone https://github.com/archilogic-com/3dio-js.git ; cd ./3dio-js

  2. Install global packages:

    npm install rollup -g ; npm install lite-server -g

  3. Install local packages:

    npm install

  4. Run local dev server:

    npm start

  5. Run tests:

    npm test

Please follow our Contribution guidelines

Build Status

    我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
    原文