Print at Dec 20, 2025, 9:04:31 AM

Posted by apptaro at Aug 18, 2010, 8:10:27 AM
Re: DAELoader Bug Fixes
Puybaret, I think you're right. Multiple texture coordinate set support is not well implemented. I just modified the original code to work for my collada files, I didn't look into it very closely.

With more investigation, I found out that my collada files all display correctly without the modification for multiple texture coordinate set. I have sent you a java file, so you know what I mean.

inputCount and node rotation issues are simply bugs.

NumberFormatException issue is caused by an exporter bug, but I think it'd be nice if parser can handle them without raising exceptions. In my case, collada files exported from 3ds max sometimes have invalid value "-1.#IND" in float_array for TEXTANGENT/TEXBINORMAL. They can be safely ignored.

As for Y_UP issue, I needed to rotate 180 degree around y-axis to get Y_UP models in the right direction. I think this shouldn't be necesary because Collada Y_UP and Java3D have the same coordinate system (right-handed & y-up.) I checked the same collada file with Flash PaperVision3D, so maybe PaperVision3D is wrong??