In fbx Object, how can I convert a quad to triangles with fbx python sdk

In fbx Object, how can I convert a quad to triangles with fbx python sdk

Anonymous
Not applicable
506 Views
0 Replies
Message 1 of 1

In fbx Object, how can I convert a quad to triangles with fbx python sdk

Anonymous
Not applicable
#I am already done
def format_from_triangle(*args):
pass

.....
for
fbxPolygonIndex in range(fbxPolygonCount):
fbxPolygonSize = fbxMesh.GetPolygonSize(fbxPolygonIndex) 
if fbxPolygonSize == 4:
#todo convert quad to triangles(maybe 2 triangles)
format_from_triangle()
else:
format_from_triangle()

 

 

0 Likes
507 Views
0 Replies
Replies (0)