Hello there
very happy CloudCompare user here.
I'm using 2.13.2, the point for this topic is:
Point Picking do not work whenever a plane (from primitive factory) is visualized as Wireframe.
That DO work when that very same plane is then switched back to "solid" vis (turning off wireframe flag, which is off by default)
This is clearly useful in scenarios where the solid plane gets in your way from picking points that are beyond, hence not in clear line of sight
I hope this is not a work-as-intended mistaked one :)
Thank you all
Point Picking on Wireframe Planes
Re: Point Picking on Wireframe Planes
Ah!
forgot to say that plane's vertices are all set to "visible"
forgot to say that plane's vertices are all set to "visible"
Re: Point Picking on Wireframe Planes
Ah, it's more a limitation due to how we manage point picking (by looking at whether the click intersects the entity in 3D, but not at how this entity is displayed). Basically any kind of transparency is not supported at the moment :(
Daniel, CloudCompare admin
Re: Point Picking on Wireframe Planes
And that makes sense.
I think:
a workaround might be to (internally) generate, replace and display a set of polylines TO MATCH the plane, when the wireframe flag is ON.
As basic as it sounds, a plane: 4 vertices, 4 lines..
Point picking with those entities should work well with that
I think:
a workaround might be to (internally) generate, replace and display a set of polylines TO MATCH the plane, when the wireframe flag is ON.
As basic as it sounds, a plane: 4 vertices, 4 lines..
Point picking with those entities should work well with that
Re: Point Picking on Wireframe Planes
Up! i've read once again this and thinked it can be simpler than that...
just handle the vertices as points (regular plain "point cloud" point) WHILE in wireframe mode
just handle the vertices as points (regular plain "point cloud" point) WHILE in wireframe mode
Re: Point Picking on Wireframe Planes
So I looked into this, and I realized there was an issue: if an entity was below a mesh displayed in wireframe mode, no picking would happen.
I fixed this, and then I updated the picking mechanism to 'simulate' picking directly on the wireframe. I'll let you test with the latest 2.14.beta version online.
I fixed this, and then I updated the picking mechanism to 'simulate' picking directly on the wireframe. I'll let you test with the latest 2.14.beta version online.
Daniel, CloudCompare admin
Re: Point Picking on Wireframe Planes
That's great.
Thank you Daniel
I confirm point picking is now working on wireframe meshes.
it works with the tool AND by SHIFT clicking "on the fly" mode.
I assume that small errors in a strictly defined plane, where the Y is set to 0, and normal is pointing in integer direction, are related to the "gl" graphical mechanism in which the entities are "filtered" into. is it right?
Units in that file are to be considered in millimeters
note:
i noticed that points that are not vertices (or are they?) can be picked in the shortes edge of my plane.
Thank you Daniel
I confirm point picking is now working on wireframe meshes.
it works with the tool AND by SHIFT clicking "on the fly" mode.
I assume that small errors in a strictly defined plane, where the Y is set to 0, and normal is pointing in integer direction, are related to the "gl" graphical mechanism in which the entities are "filtered" into. is it right?
Units in that file are to be considered in millimeters
note:
i noticed that points that are not vertices (or are they?) can be picked in the shortes edge of my plane.
Re: Point Picking on Wireframe Planes
Hum, strange, but not impossible (especially because I had to 'project' the picked points on the nearest edge). I'll have to look into that.
Daniel, CloudCompare admin