Notifications
Clear all

[Closed] Help Building Faces

I have a file for example that has one big array stored for all vertex normals and uv’s.
Then I have the faces exported by material groups.
How would i re import this into max without using duplicate vertex points or merging it into one big mesh. My code to load it is something like this i can post the whole script if needed.
This code below keeps duplicating the entire vertex array when i only need them created one time.
Thanks so much in advance and Happy Thanksgiving
msh = mesh vertices:Vert_array faces:Face_array name:Offset_Info_array[a].MeshName
msh.numTVerts = UV_array.count
buildTVFaces msh
for j = 1 to UV_array.count do setTVert msh j UV_array[j]
for j = 1 to Face_array.count do setTVFace msh j Face_array[j]
for j = 1 to Normal_array.count do setNormal msh j Normal_array[j]