pnext / three-loader

Point cloud loader for ThreeJS, based on the core parts of Potree
Other
212 stars 92 forks source link

rgba support #125

Open ua4192 opened 1 year ago

ua4192 commented 1 year ago

Hi.

Sorry if this is not the appropiate channel to ask.

I am trying to use potreeCoverter_2.1 and as far I have seen in the loader code, there is a way to use color as attribute or rgba depending on a shader define called new_format.

The question is simple.

Which is the appropiate input format to use with PotreeConverter that allow preserving the 4 color components (RGBA) ?

I have tried with ply but it seems only support RGB.

Many thanks for the support and sorry again if this is not the proper channel.

I know that transparency adds overhead, but I don't really want to use this attribute component for transparencia but controlling the pointSize.

Best regards