Skip to content

Conversation

Jordan-Lane
Copy link
Contributor

@Jordan-Lane Jordan-Lane commented May 26, 2025

PR to support the LAS / LAZ format for Potree1 pointclouds. Code is adapted from the original Potree repo, but has been changed to follow the coding standards of this repo.

This PR is dependent on the shared worker pool PR found here: #182

This PR looks massive because it adds the static file laz-perf.js which is from this npm package and it is how the original Potree loaded LAZ files. It would be best to install this package through npm, however to do that we will need to update the worker-pool to create Workers using the standard URL notation, which allows npm modules to be imported with the correct URL path. If this is desired, I can upgrade the worker-pool and create the related PR.

@Jordan-Lane Jordan-Lane changed the title Jl laz support pnext feat: support Potree1 LAS / LAZ formats May 26, 2025
@Jordan-Lane
Copy link
Contributor Author

Addresses this issue: #61

@Jordan-Lane
Copy link
Contributor Author

Unfortunately, attempting to import laz-perf during the typescript build step requires a huge amount of memory to be able to build it. I didn't notice this locally, but it immediately blew up in CircleCI.

I will close this PR and open a new PR with a JS worker with laz-perf inline

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant