Hey guys, I made a pretty basic plugin that allows you to click a button while selecting a MeshPart to output it’s triangle count.
I believe some others may have done this, but the one I found can no longer be installed and I don’t believe any support Version 3.0 of meshes(introduced when Mesh Level of Detail was released)
How it works
Using a roblox proxy and HttpService(which you need to enable), the plugin fetches mesh data for a MeshPart you have selected. It then parses that data to get its triangle count.
Mesh Version 3(LOD) will only output the triangle count for the default level of detail.
Why??
UnionOperation.TriangleCount exists, but MeshPart.TriangleCount still does not. Hopefully roblox will add this soon.
Feel free to use the source
I had much larger plans for this plugin initially. I originally wanted a sort of analyzer that could create a heatmap of objects based on its polycount or , potentially using an octree, the polycount of all objects around it. Certain tools that could be used for developers to analyze how poly heavy their scenes are.
Unfortunately, I do not have the time to do such a thing right now and I also dislike plugin/UI development. But feel free to use this source and do it yourself if you’d like! I know some others had the same idea(@Zomebody )
Also Roblox please give us MeshPart.TriangleCount so we don’t need to do this