Make facet picking more accurate

I know there is this:

but I remember a specific conversation between me and @Deltakosh where he explained how the picking works and how its through an octree I believe. Then how to change the subdivisions/detail of that octree and rebuild it to tailor for more accurate facet picking.

Am I crazy because I cant find this conversation now?

mesh.partitioningSubdivisions = 50;  // set a bigger value than the default one (integer)
mesh.updateFacetData();              // now the internal partitioning has 50 blocks per axis

Found what I was talking about nevermind!

1 Like