holes in the box

Aug 2, 2012 at 12:07 AM

Hi, First, great toolkit, thank you! 


holes in the box, what should I do?

Aug 8, 2012 at 10:48 PM

The best solution would be to create a MeshGeometry where the holes are modelled. It should not be difficult to do the tessellation if the holes have regular shape.

I would not recommend using textures with transparency to show 'holes' with wpf 3d...

Aug 9, 2012 at 12:46 AM


var point3d_Out = new[] {new Point3D(0, 0, 0), new Point3D(6, 0, 0), new Point3D(4, 3, 0), new Point3D(6, 7, 0), new Point3D(0, 7, 0)};

var point3d_Hole = new[] {new Point3D(1, 2, 0), new Point3D(3, 2, 0), new Point3D(2, 4, 0), new Point3D(3, 5, 0), new Point3D(1, 5, 0)};




The hole was created by using CuttingEarsTriangulator.Triangulate to you Is there any plan to support.

Aug 9, 2012 at 6:48 AM

I don't think the ear clipping method supports holes (http://en.wikipedia.org/wiki/Polygon_triangulation).

I have not planned to implement other triangulation methods, but maybe you can use code from other .net libraries?

Aug 10, 2012 at 12:23 AM


Other ". NET libraries" could not be found

hard to sell in the hole  wpf3d

I can not speak English well.
So, more brutal.
google translator, I can not thank you enough  


^^;; Hahaha

Thank you so much for letting me answer

Aug 24, 2012 at 7:37 AM





http://www.cs.cmu.edu/~quake/triangle.html (looks good, try P/Invoke!)