Hi,
I am trying to make a mesh procedurally for rendering trail. The idea is, artist will vertex paint some area of a sword mesh, in red. A script will get those vertex with red color. Then I will model the trail in runtime by script, based on the set of red painted vertices. Now I must submit “mesh.triangles” data from the red painted vertices. The point is: how do I form traingles or triangle strips from a set of vertices?
Unity gurus, shed some light on this matter.