aframe-pcd_loader-component
This component loads Point Cloud Data files (*.pcd) into an a-frame scene.
For A-Frame.
API
Installation
Browser
Install and use by directly including the browser files:
<head>
<title>My A-Frame Scene</title>
<script src="https://aframe.io/releases/0.9.2/aframe.min.js"></script>
<script src="https://unpkg.com/aframe-pcd_loader-component@1.0.0/dist/aframe-pcd_loader-component.min.js"></script>
</head>
<body>
<a-scene>
<a-entity pcd_loader="model_url: bunny.pcd"></a-entity>
</a-scene>
</body>
npm
Install via npm:
npm install aframe-pcd_loader-component
Then require and use.
require('aframe');
require('aframe-pcd_loader-component');