Results 1 to 2 of 2

Thread: instance_node w/in a node

  1. #1
    Junior Member
    Join Date
    Oct 2008
    Posts
    4

    instance_node w/in a node

    I am trying to write a model w/ an instance_node w/in a node that references a node in library_nodes. The following dae content causes an error during import into COLLADA Maya. The error log complains about the URI fragment of the instance_node. Any ideas? Thanks.

    Code :
      <library_visual_scenes>
        <visual_scene id="ID1">
          <node name="SketchUp">
            <instance_geometry url="#ID12">
              <bind_material>
                <technique_common>
                  <instance_material symbol="Material1" target="#ID6">
                    <bind_vertex_input input_semantic="TEXCOORD" input_set="0" semantic="UVSET0"/>
                  </instance_material>
                </technique_common>
              </bind_material>
            </instance_geometry>
            <node id="ID2" name="instance_0">
              <matrix>1.0000000 0.0000000 0.0000000 -57.6568699 0.0000000 1.0000000 0.0000000 -16.5036448 0.0000000 0.0000000 1.0000000 0.0000000 0.0000000 0.0000000 0.0000000 1.0000000</matrix>
              <instance_node url="#ID3"/>
            </node>
          </node>
        </visual_scene>
      </library_visual_scenes>
      <library_nodes>
        <node id="ID3" name="component_0">
          <instance_geometry url="#ID4">
            <bind_material>
              <technique_common>
                <instance_material symbol="Material1" target="#ID6">
                  <bind_vertex_input input_semantic="TEXCOORD" input_set="0" semantic="UVSET0"/>
                </instance_material>
              </technique_common>
            </bind_material>
          </instance_geometry>
        </node>
      </library_nodes>

    Sang Ahn

  2. #2
    Senior Member
    Join Date
    Jul 2004
    Location
    Santa Clara
    Posts
    356

    Re: instance_node w/in a node

    maybe there is an order dependency bug in the importer?
    Can you try to move the library_node section above the library_visual_scene ?

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •