Hi,

I've encoutered kmz files with dae files inside that look like that :

Code:

<bind_material>
            <technique_common>
              <instance_material symbol="building_0" 
target="#building_0"></instance_material>
              <instance_material symbol="building_1" target="#building_1">
                <bind semantic="CHANNEL1" target="#b1-obj-tverts"></bind>
              </instance_material>
            </technique_common>
          </bind_material>




The texture coords are not loaded.
If I add a bind_vertex_input element, textures works.


Code:

<bind_material>
            <technique_common>
              <instance_material symbol="building_0" 
target="#building_0"></instance_material>
              <instance_material symbol="building_1" target="#building_1">
                <bind semantic="CHANNEL1" target="#b1-obj-tverts"></bind>
                                <bind_vertex_input semantic="CHANNEL1" 
input_semantic="TEXCOORD" input_set="1"/> 
              </instance_material>
            </technique_common>
          </bind_material>




Do someone know what's happening ? Is it a problem in the file or the dae 
reader ? The file is opened correctly in GoogleEarth.


Thank you!

Cheers,
Luc

------------------
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=30846#30846





_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to