PCDLoader
A loader for PCD files. Loads ascii and binary. Compressed binary files are not suported.
Constructor
Creates a new PCDLoader.
Properties
Default value is true.
Methods
url — required
onLoad — Will be called when load completes. The argument will be the loaded
Object3D.
onProgress — Will be called while load progresses. The argument will be the XmlHttpRequest instance, that contain .
total and .
loaded bytes.
onError — Will be called when load errors.
Begin loading from url and call onLoad with the parsed response content.
data — The binary structure to parse.
url — The file name or file url.
Example
// instantiate a loader var loader = new THREE.PCDLoader(); // load a resource loader.load( // resource URL 'pointcloud.pcd' , // Function when resource is loaded function ( mesh ) { scene.add( mesh ); } );
webgl_loader_pcd
Source
examples/js/loaders/PCDLoader.js
Edit