Replies: 1 comment 5 replies
-
Hi @peiyanlu, iModels generally contain vector geometry, not triangle meshes. To visualize an iModel, we produce from the vector geometry 3D tilesets containing graphical primitives like triangles. Because 3D tilesets employ hierarchical level-of-detail for efficient streaming and display, we never display all of the triangles in the tileset at once; the triangle count varies from one frame to another based on the volume of space you are viewing and the size of your viewport, among other things. Currently no public APIs exist for querying the number of triangles on screen at any given moment. Can you be more specific about what you're trying to achieve? |
Beta Was this translation helpful? Give feedback.
-
Hi, I've been conducting performance statistics recently. In other engines, the number of triangular faces is often used to quantify the size of a model, serving as one of the indicators that affect performance. Therefore, I would like to inquire if there is a method in iTwin to calculate the number of triangular faces a model has after it is published.
Beta Was this translation helpful? Give feedback.
All reactions