i was looking at the saved collada file from meshlab and noticed that
texture coords were being repeated (as there are two coords per vertex, and
the save function is generating them by iterating through faces-which may
have the same vertices). so i wanted to change the floatarraytag in
colladaformat.h to generate the tex coords per vertex (thus maintaining
uniqueness) rather than by face, but i couldn't figure out how to do it:
there is 'vit' which is a vertex vector iterator, so i thought i could do
QString::number(vit->T().U()) or something but that didn't work.
the face vector iterator currently does: QString::number(fit->cWT(ii).U())
how should i do this?
thanks,
imran
|