connormanning / entwine

Entwine - point cloud organization for massive datasets
https://entwine.io
Other
451 stars 128 forks source link

RGBA in potree has 6 values #325

Closed swell-d closed 3 months ago

swell-d commented 3 months ago

Hi, first of all I want to thank you for the awesome converter.

I have a problem. After loading the converted project into potree, the points are displayed normally, except for the "Height profile" function. I was trying to figure out the problem and noticed that the RGBA pixel color values are encoded with 6 values instead of 4 for some unknown reason to me. When using PotreeConverter everything works as expected, so I thought I'd ask the question here.

Test project: https://360-for-you.com/projects/W7ws7cBJ/pointcloud A screenshot of the problem: https://360-for-you.com/static/tmp/rgba.PNG (my picture upload function doesn't work)

Perhaps you know why this can happen and can tell me how to fix it? If more information is needed, I'm happy to provide whatever you need.

Best regards

connormanning commented 3 months ago

I really don't know quite how the profile aspect works, I really only implemented what I could identify as the basics for proof-of-concept rendering. I am not as familiar with the broader scope of the overall Potree project, like the UI and various tools like the Profile tool.

I would imagine that something needs to be tweaked in the geometry where the attributes are passed along to the renderer, or in the method where the buffers are parsed out in the worker. I am definitely not a Potree expert so unfortunately I don't have any concrete ideas here. If you make an issue in the Potree project, it's possible that Markus would be able to tell at a glance what is wrong, or maybe someone more familiar with that project can help fix it.