Identifying Different surfaces in a 3D asset

I did this for a dice roller that can, in theory, handle any dice model. Detecting flat mesh faces - #25 by ericwood73. PG link is https://playground.babylonjs.com/#P5F4RL#28. It may not work exactly for your use case as I was able to make assumptions about the nature of the faces (the only faces that are not on a flat side would be on the edges or pips/numbers/etc…), but you may get some ideas from it.

1 Like