ivan.cuevas Posted October 22, 2013 Posted October 22, 2013 Hi all, I'm creating some functions to create simple 2D primitives, one of them is to create a polygon. This polygon is defined by user tracing the contour, so I have to implement an algorithm to define the triangulation. My question is if there is already functions in UnigineScript for this. In case there isn't any function for this, I'm going to implement incremental construction in 2D using Delaunay triangulation. If anyone has experience with this I'll appreciate all your good advices. Thanks in advance. Iván.
ulf.schroeter Posted October 22, 2013 Posted October 22, 2013 At the moment there is NO UnigineScript code for 2D polygon triangulation as far as I know.
ivan.cuevas Posted October 28, 2013 Author Posted October 28, 2013 If anyone is interested, I found this link about different triangulation methods. I used this one because it fits my needs and it was very easy to implement in enigine.
Recommended Posts