Closed Vinc3r closed 4 years ago
maybe create a tmp object with edge split modifier ? looks like performances killer? check how glTF guys are doing
starting to get somewhere : https://github.com/Vinc3r/Blender-Python-Snippets/blob/master/blender-2.8%2B/polycount-to-console-using-bmesh.py
need some tests, but already better : https://github.com/Vinc3r/Polycount/commit/eb1dcbf4f25ed183c2dc13ff8803de63873d0f81
brute force idea : made a copy of the object and force "convert to mesh"
Verts algorithm have to be enhanced (for now, a smoothed shading cube get the same count (8) as a sharped one, which should give us a count of 24)