You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When trying to visualize point cloud normals, CloudCompare shows an error message and quits:
ERROR: 0:8: ';' : syntax error: Uniform blocks may not have identifiers in GLSL 140
How to reproduce
Drag and drop the attached cube.ply onto Cloud Compare window and click Apply
Click on the "cube - Cloud" item in the DB Tree
Click on "Draw" checkbox from Properties -> Draw normals as lines
Expected behaviour
I would expect the normals to be visualized, or if the system doesn't support the necessary GLSL features, at least CC could just inform the user, disable the checkbox and continue working without exiting.
Your environment
CC Version: 2.13.1 with Qt 5.15.8
OS & Version: macOS 13.6 on Apple M2 Pro
Test file (save as cube.ply, GitHub complains "We don't support that file type" when trying to attach this, so copy-pasting the file inline):
@rjanvier That would be great, thanks. If you are touching the code anyway, perhaps also adjust the minimum normal length. Now the UI doesn't allow entering numbers smaller than 0.01, which is kind of frustrating when working with models that themselves are roughly that size.
When trying to visualize point cloud normals, CloudCompare shows an error message and quits:
How to reproduce
Expected behaviour
I would expect the normals to be visualized, or if the system doesn't support the necessary GLSL features, at least CC could just inform the user, disable the checkbox and continue working without exiting.
Your environment
Test file (save as cube.ply, GitHub complains "We don't support that file type" when trying to attach this, so copy-pasting the file inline):
The text was updated successfully, but these errors were encountered: