holes in the box
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
objo wrote at 2012-08-24 09:37:
http://stackoverflow.com/questions/2222601/net-polygon-triangulation-library
http://stackoverflow.com/questions/406301/polygon-triangulation-with-holes
http://paulbourke.net/papers/triangulate/morten.html
http://paulbourke.net/papers/triangulate/
http://www.cs.cmu.edu/~quake/triangle.html (looks good, try P/Invoke!)
Customer support service by UserEcho