Page MenuHome

Collada: import fails for transparency and reflectivity
Closed, ArchivedPublic

Description

To reproduce easily:
* Start blender, use the default scene (cube, camera, light).
* select the cube, change its transparency to e.g. 0.1 instead of 1.0
* export collada (*.dae)
note: in the collada file there's the correct transparency:
<transparency>
<float sid="transparency">0.1</float>
</transparency>
-
* import the just exported file again into an empty scene
==> the transparency of the cube isn't set, the checkbox "Transparency" in the material pane isn't checked and the value 0.1 isn't shown



The same problem is with the reflectivity:

* Start blender, use the default scene (cube, camera, light).
* select the cube, change its reflectivity to e.g. 0.5 instead of 0.0 in the "mirror" part (don't forget to check the "mirror" checkbox) in the material pane
* export collada (*.dae)
note: in the collada file there's the correct transparency:
<reflective>
<color>1 1 1 1</color>
</reflective>
<reflectivity>
<float sid="reflectivity">0.5</float>
</reflectivity>
-
* import the just exported file again into an empty scene
==> the reflectivity of the cube is set, but the "mirror" checkbox isn't checked so the reflectivity value isn't used.


Tested with blender 2.6.3-r50064 on x64 Windows 7, also with blender 2.6.3a (official release) and blender 2.6.1, both 32-bit and 64-bit versions (all on Win7 x64).

Details

Type
To Do

Event Timeline

Materials are not yet well supported. Especially a round trip process
is not supported, so exporting something from blender to collada
will loose information. Importing something back from collada to blender
will loose even more information.

For Blender 2.64 we have worked on the exporter part, mainly for
exporting Mesh models. Materials are still not fully supported.

For Blender 2.65 an improved material support is at least on my own task list.
That will include better matching export/import (less information loss during round tripping)

I put this report in the state Todo/closed for now, but it remains on my task list
for Blender 2.65

Gaia Clary (gaiaclary) closed this task as Archived.Sep 3 2012, 10:27 AM

Gaia, for your information: https://projects.blender.org/tracker/index.php?func=detail&aid=36903&group_id=9&atid=127