Wednesday, September 9, 2009

Fixing broken COLLADA files

COLLADA is an extremely flexible but confusing format, and it's no wonder a lot of companies got it wrong/has different interpretation of the format. One of those things is transparency. To cut the long story short, Google SketchUp produces .dae files with inverted transparency values. Two possible fixes:
  1. Add RGB_ZERO to the <transparency> element
  2. Invert the transparency value

I work with COLLADA files quite a fair bit and so I wrote a script to make it easy for me to fix problematic files. I've also done a web interface for it so that hopefully others can benefit from it too. To use, go to:



A couple of options for you to choose from. For Google SketchUp .dae fix, simply choose Invert current transparency value and leave the other options as Do nothing. Upload your file and it will perform the necessary processing and return you a file with all the changes done. Simple as that.

P/S: The usual disclaimers apply. :-)

No comments:

Post a Comment