Open ua4192 opened 1 year ago
Hi.
Is there anybody who has faced this problem with potree?
I need to get the original coordinates when reading from pixels.
Best regards
Hello
You want the original coordinates before any transformation correct?
What you can do is to raycast the scene and you will get both the position in world coordinates as well as the geometry data containing the raw point data.
Mind that after conversion point data might suffer some changes (rounding & quantization).
Hi
I am using CloudCompare and Potree.exe in order to load multiple ply files into one LAS file and then convert it to potree format.
I have made a small modification on the fragment shader in order to be able to gpu pick the positions using vPosition that in the github files is only on the fragment shader and not in the vertex
basicallyI set in the vertexShader vPosition = position and gl_FragColor = vPosition on the fragmentShader.
I get the coordinates but they are displaced. I guess it is related to point organization?
The script I am using to convert files is this:
Is there any way to get the original coordinates when gpu picking?
Here the function I use to gpupick
Best regards