Hi, I export from Max using the feeling exporter 3.05b (c gives the same results). I have a diffuse map and an ambient map in my model. When importing the collada file into osg, the maps are not shown. It seems that I have to modify [code]<instance_material symbol="r8.3.007_1" target="#r8.3.007-material"/>[/code] to [code] <instance_material symbol="r8.3.007_1" target="#r8.3.007-material"> <bind_vertex_input semantic="CHANNEL2" input_semantic="TEXCOORD" input_set="2"/> <bind_vertex_input semantic="CHANNEL1" input_semantic="TEXCOORD" input_set="1"/> </instance_material> [/code] Then everything works as expected. Is this faulty behavior of the exporter? The collada 1.4 spec says:
[quote] The <bind_vertex_input> element binds geometry vertex streams (identified as <input> elements within geometry elements) to material effect vertex stream semantics. Although applications commonly perform automatic binding of vertex streams with identical semantic identifiers, there are frequently mismatches in a semantic identifier’s meaning. Use <bind_vertex_input> to remove these ambiguities [/quote] So maybe the exporter could detect texture coordinate sets automatically? Thanks, Martin[/quote] ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=10711#10711 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

