A-Frame Component loading Google Poly models from https://poly.google.com. Maintained by archilogic.com.
<head>
<script src="https://aframe.io/releases/0.7.0/aframe.min.js"></script>
<script src="https://cdn.rawgit.com/archilogic-com/aframe-gblock/6498b71d/dist/gblock.js"></script>
</head>
<body>
<a-scene>
// Using Poly API Key
<a-entity gblock="https://poly.google.com/view/ewsXLyr8OPu?key=YOUR_POLY_API_KEY_HERE"></a-entity>
</a-scene>
</body>
On Mac OS X, it's recommended to use Homebrew to install Node + npm:
brew install node
git clone https://github.com/archilogic-com/aframe-gblock.git
npm install
npm start
Based on gltf component from A-Frame using GLTF loader from three.js.
Distributed under an MIT License.
mat c3lXOu8gooq