This repository has been archived by the owner on Sep 1, 2023. It is now read-only.
v1.10.0
1.10.0 (2022-10-06)
✨ Features
- Export visualization module separately, pcl.js file size:
202KB
->155KB
🚀 (ca0dc48)
Using
<= v1.9.0:
import * as PCL from 'pcl.js'
new PCL.PointCloudViewer();
>= 1.10.0:
NPM:
import PointCloudViewer from 'pcl.js/PointCloudViewer'
new PointCloudViewer();
Script:
<!-- Three.js -->
<script src="https://cdn.jsdelivr.net/npm/three/build/three.js"></script>
<script src="https://cdn.jsdelivr.net/npm/three/examples/js/loaders/PCDLoader.js"></script>
<script src="https://cdn.jsdelivr.net/npm/three/examples/js/controls/OrbitControls.js"></script>
<!-- pcl.js -->
<script src="https://cdn.jsdelivr.net/npm/pcl.js/dist/pcl.js"></script>
<script src="https://cdn.jsdelivr.net/npm/pcl.js/dist/visualization/PointCloudViewer.js"></script>
<script>
new PointCloudViewer();
</script>
Full Changelog: v1.9.0...v1.10.0