Hi all, i’m new in the world of panda and 3d. I downloaded few models from sketchup gallery and converted them to dae format, but when i tried to load it with pview or with my simple code, nothing happens (gray window) or the program crash.
There’s a bug in Sketchup that makes everything invisible when exporting to .dae. It hasn’t been fixed so far, to my knowledge. To fix this, open your .dae file,
and find something like this:
Read the COLLADA specification. Sketchup exports using the A_ONE opacity mode, which means that a transparency setting of 1.0 is opaque. Panda conforms to the COLLADA specification in how it interprets transparency settings while Sketchup does not, trust me.
That said, it is indeed rather misleading of the COLLADA developers to do it this way, and that surely is what led the Sketchup developers to overlook this issue.
@Nemesis: A_ZERO was only added to COLLADA recently, and FCollada doesn’t support it. However, I’m reading here that Sketchup 7.1 fixes the problem anyway.
@blitzerc264: seems like I’ve misjudged the problem. I’ll look into it.
I’ve looked into the original issue, but it seems to have something to do with the way FCollada processes node instances. Because the file is still non-compliant in various ways (particularly the order in which the libraries and nodes are specified), I’m not sure if there’s much I can do at the moment. If you don’t want the issue to be forgotten, please file a bug report at the bug tracker.