microchipgnu / aframe-pcd-loader

An a-frame component that loads Point Cloud Data files (*.pcd) into an a-frame scene.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

aframe-pcd_loader-component

Version License

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');

About

An a-frame component that loads Point Cloud Data files (*.pcd) into an a-frame scene.

License:MIT License


Languages

Language:JavaScript 84.7%Language:HTML 15.3%