Hi,
Someone has a algo for spliting a quads with 4 vertex.
Thanks in advance …
Hi,
Someone has a algo for spliting a quads with 4 vertex.
Thanks in advance …
(v1,v2,v3,v4) -> (v1,v2,v3),(v1,v3,v4)
I think he means to split it into 4 tri’s, maybe not. He would have to find the mid point then use that with the corner vertices. (for 4 tris that is)
im using like above, but Im interested in an algo too.
to split 1 quad into 4 triangles… not 2 like above
v0 = (v1+v2+v3+v4)*0.25f
(v1,v2,v3,v4)->(v0,v1,v2),(v0,v2,v3),(v0,v3,v4),(v0,v4,v1)
lol