Search code examples
c#wpf3dcadeyeshot

Which Eyeshot entity is more efficient?


I am using the WPF Control Eyeshot (http://www.devdept.com/) to build an application where I handle multiple 3D entities, but I do not perform boolean operations between them.

Eyeshot offers me the following options for entities of this sort (cylinders, spheres, cubes, etc): Mesh, Solid, Surface or Solid3D.

I am confused on which one of these should I use, as they all suffice my needs.

Which one is more efficient in memory consumption and performance?


Solution

  • Mesh, definitely. Possibly with Mesh.LightWeight = true. This is the most cheap 3D object representation inside Eyeshot. It relies only on Mesh.Vertices and Mesh.Triangles arrays.