Opening .dae files with Meshlab doesn't work.
A processing system for 3D triangular meshes
Brought to you by:
cignoni,
granzuglia
Hello,
does your file contains polylist tag ?
I did a few tests with some files found on internet and I managed to import some files not containing polylist. I had cores when opening files that do contain some ...
When reporting this kind of issue, it would make sense to attach a sample of a file that cannot be opened.
Here is an example of a file that generates a core.
Regards,
Colin
Hello,
Looking at my example, it contains the following:
The 3 input are references to data sources (prim0-vertices, prim0-normals, prim0-map0) that are defined before in the file and that contains coordinates.
Apparently, vcglib expects to have #inputvcount#vcount = 3312 = 108 values whereas there are only 3*12 = 36
The offset 0 for the 3 input means that the info listed in the <p> part is shared by the 3 input. It seems this is what is not supported by vcglib.
If the 3 input had respectively 0, 1 and 2 as offset and p had 108 values, vcglib would probably work well.
The issue comes from this line in vcglib:
int faceAttributeNum = polylist.at(tript).toElement().elementsByTagName("input").size();
In fact, faceAttributeNum shouldn't be the number of input but the max value of offset.
Anyway, it seems this issue is not the same you have as I get a core whereas you talk about an "Opening Failure" error message.
Could you please provide more info on your error ? And attach the file that generates it ?
Regards,
Colin