holes in the box

Anonymous 9 years ago 0
This discussion was imported from CodePlex

DongMini wrote at 2012-08-02 02:07:

Hi, First, great toolkit, thank you! 


holes in the box, what should I do?

objo wrote at 2012-08-09 00:48:

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...

DongMini wrote at 2012-08-09 02:46:


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.

objo wrote at 2012-08-09 08:48:

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?

DongMini wrote at 2012-08-10 02:23:


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