ThatOpen / engine_components

MIT License
332 stars 129 forks source link

Can't renderer a point cloud using potree-core in the scene #505

Open matheus14maia opened 3 weeks ago

matheus14maia commented 3 weeks ago

Describe the bug 📝

I am doing a project that needs to renderer a point cloud in the BIM scene, don't show any error, but don't renderer the point cloud in the scene. The code I'm using in react, but work in vanilla to. LoadPointCloudPCR PointCloudRenderer

Reproduction ▶️

No response

Steps to reproduce 🔢

No response

System Info 💻

Nothing

Used Package Manager 📦

npm

Error Trace/Logs 📃

No response

Validations ✅

nicoarellano commented 2 weeks ago

Hey @matheus14maia , interesting. I am curious, did the implementation work in Vanila JS or it didn't? Pleas keep me posted, I am very interested in this function as well

matheus14maia commented 2 weeks ago

Hi, if you try to create a project in Vanila JS this worked. The problem was using the thaopen library, because i tried to render the point cloud in their world.scene and didn't renderer, but if it was in normal threejs scene this work.

agviegas commented 2 days ago

Hey @matheus14maia can you please provide a self-contained, vanilla (not react) example in writting (not screenshot). That makes it much harder for us to test. Thanks in advance!