After running the sample project tridecimator, the number of vertices and faces have been reduced in mesh which is recorded in the variables vn and fn. The sample project saves the resulting mesh in ply format which contains correct number of vertices and faces. But when I modify the code to export the result in dae format, the Save() function related with dae format will not read the values of vn or fn but the size of vertex and face arrays. The size of vertex or face array does not change after reducing the number, so the dae format file still contain all the vertices and faces as the original input file. It is supposed to read the values of vn and fn in mesh to decide size of exporting file.
Anonymous