Comments (2)
For some additional info, copc.js provides what I'd call "primitives" for dealing with LAS/LAZ/COPC data: header/VLR parsing, hierarchy reading, fetching a COPC node slice (with API for fetching the laszip-compressed block, or decompressed to LAS, or providing a view with getters for each attribute including extra-bytes). Determining what to fetch, caching, running decompression in a web worker, etc, are left up to you.
See the PRs for COPC support in potree and itowns for examples of copc.js usage in the context of adding a COPC loader to a downstream rendering project.
from loaders.gl.
@connormanning I made a fleeting attempt at integrating your COPC code maybe 6 months ago but it had bundling issues as it was doing dynamic imports of node specific libraries (fs
?) or some such.
Also loaders.gl has its own LASLoader module which is older and I would prefer to update that to align with the COPC LASLoader implementation but didn't immediately see how to separate the code in COPC.
By your description, sounds like your primitive system might be just what is needed to make your code fit into the loaders.gl model.
If we were able to pair up for an hour or so, perhaps we could make short work of it? email me if interested.
from loaders.gl.
Related Issues (20)
- [Bug] GLTF: TypedArray for BufferView
- 3D Tiles Implicit Tilesets with multiple subtrees not loading HOT 4
- Failed to open this OBJ file, wrong positions from loader.
- chore: Use SPDX license headers HOT 2
- Getting context._parse error when try to upload Shape File HOT 6
- Loading 3D tiles is very slow, skipLevelOfDetail implementation?
- Cannot find module '.../node_modules/@loaders.gl/flatgeobuf/node_modules/flatgeobuf/lib/mjs/generic/feature' HOT 2
- Fails to load MIME type "image/PNG" due to case-sensitive parsing
- getTypedArrayForImageData failed to return data
- [Feature] support loading layer data from S3 HOT 5
- @loaders.gl/tile-converter Failed to execute yarn bootstrap HOT 2
- Missing dependencies in package.json HOT 4
- [Feature] glTF: Support per-texture transforms in KHR_texture_transform HOT 2
- [Enhancement]: Support more data types in Draco decoder HOT 1
- Tracker: Parquet
- Basis File Examples HOT 7
- error in loading laz file using LASLoader HOT 5
- Can't load Las, Laz models from Xeokit based Electron app
- Helper functions like `isPureObject` should be exported from `@loaders.gl/loader-utils` rather than `@loaders.gl/core`
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from loaders.gl.