Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PoTree-Core Can't Load my Custom Point Cloud #19

Open
adisingh50 opened this issue Feb 24, 2021 · 3 comments
Open

PoTree-Core Can't Load my Custom Point Cloud #19

adisingh50 opened this issue Feb 24, 2021 · 3 comments
Labels
bug Something isn't working

Comments

@adisingh50
Copy link

I took a Binary PLY file of a tree stump and converted into a Potree formatted folder (using Potree-Converter v1.7). When I load into the original PoTree Project Directory, it renders just fine:
Screenshot 2021-02-24 171301

But when I try to render that same exact point cloud folder using Potree-Core, I get this error:
image

Any ideas why Potree-Core is not able to properly render this pointcloud architecture when the original Potree is?

@shiukaheng
Copy link

shiukaheng commented Feb 25, 2021

Potree-core is based on Potree v1.6, and you'll have to use PotreeConverter 1.6 or below to have it work properly with it. This repo seems like its not maintained anymore so perhaps you might consider switching to pnext/three-loader instead, although I think you'll still have to use PotreeConverter 1.6 or below.

@tentone
Copy link
Owner

tentone commented Feb 25, 2021

Hello

As @shiukaheng stated the codebase is based on an older version of portree 1.6 , which at the time was not using ES modules and was not possible to easily integrate it into external projects, since then I never updated the library.

I would recommend importing potree directly into your project since it is now available as a module.

Thanks a lot.

@tentone tentone added the bug Something isn't working label Feb 25, 2021
@adisingh50
Copy link
Author

Ok, I will not try integrating Potree-Core into my application because of the versioning issues you mentioned. In my situation, I want to try loading massive point clouds within React Three Fiber specifically. Do you know how I can go about integrating this Potree repository (https://github.com/potree/potree/) into my React Project? My experience with frontend is rather limited, so merging all these javascript files into a React project has been quite difficult for me to do.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants