Add a new demo in src/examples/graphics/demo_Picking/ to show how to retrieve the index of the vertex/facet/cell under the cursor. Related to discussion #88.
I compared the values with the "probe attributes" tool of Graphite.
Note: MeshGfx::set_picking_mode() also accepts MESH_EDGES, but I did not manage to read something other than -1.
Add a new demo in
src/examples/graphics/demo_Picking/
to show how to retrieve the index of the vertex/facet/cell under the cursor. Related to discussion #88.I compared the values with the "probe attributes" tool of Graphite.
Note:
MeshGfx::set_picking_mode()
also accepts MESH_EDGES, but I did not manage to read something other than -1.