I tried some other things but… The model doesn’t seem to have any errors in sketchup. So it can be only that the collada file is “optimized” for google earth by default, or there is some kind of weird error in there…
That’s because Sketchup exports the models to .dae with inverted transparency. You need to manually invert the transparency in the .dae file before converting to Panda3D.
So from what I read, there are 2 modes of transparency in the collada format. A_ONE and RGB_ZERO. A_ONE has 1.0 as fully opaque, and RGB_ZERO as fully transparent.
Ok, so I have to change some 1’s to 0’s. And I tried to find it, and the only thing that partly reminds me that is this:
0.48 0.48 0.48 1
So I changed it to 0 and nothing. The same. So can you help me? Thx in advance
ok I created a new model and somehow it worked immedately. Maybe it can’t display so called “components” and “groups”? Or the model has some kind of error that panda can’t display? huh… I’m so tired =/
It is true that SketchUp used to export COLLADA with inverted transparency settings, but this has been fixed in the latest release. SketchUp 7.1 (which can be downloaded for free from sketchup.google.com) has an entirely rewritten COLLADA importer and exporter that fixes this and many other issues.