3D对象-Polycount [英] 3D object - polycount
本文介绍了3D对象-Polycount的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
您好!
我想在运行时获取3D模型的多边形数量. MehshGeometry3D类的TriangleIndices.Count是否表示多边形计数?我能正确理解吗?
如果是,那么Expression Blend 3似乎几乎是多边形数量的三倍-我导入的obj大约有30000多边形,转换为XAML的多边形现在已经接近90000(如果是TriangleIndices.计数可用于多边形计数).
在此先多谢!
问候
Hi there!
I want to get the number of polygons of my 3D model at runtime. Is TriangleIndices.Count of the MehshGeometry3D class representing the poly count? Do I understand that correctly?
If yes, then Expression Blend 3 seemed to nearly triple the amount of polys - my imported obj has around 30000 poly, converted to XAML it has nearly 90000 now (if TriangleIndices.Count can be used for poly count).
Thanks a lot in advance!
Greetings
推荐答案
TriangleIndices.Count将返回三角形索引的总数. 每个三角形均由3个索引值组成,因此三角形的计数将为三角形索引/3.
TriangleIndices.Count will return the total count of triangle indices. Each triangle is made up of 3 index values, so the triangle count will be triangleindicies/3.
这篇关于3D对象-Polycount的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文