Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
我正在使用 WPF Control Eyeshot ( http://www.devdept.com/ ) 来构建一个应用程序,在该应用程序中我处理多个 3D 实体,但我不在它们之间执行布尔运算。
Eyeshot 为我提供了此类实体(圆柱体、球体、立方体等)的以下选项:Mesh、Solid、Surface 或 Solid3D。
我很困惑我应该使用其中的哪一个,因为它们都足以满足我的需求。
哪一个在内存消耗和性能方面更高效?
网状,绝对。可能与Mesh.LightWeight = true. 这是 Eyeshot 中最便宜的 3D 对象表示。它只依赖于Mesh.Vertices和Mesh.Triangles数组。
Mesh.LightWeight = true
Mesh.Vertices
Mesh.Triangles