Imported COLLADA file has wrong geometry

#1

Hello everyone,
I have a DAE file that should create simple surface,
but when i import this file in any software i have wrong surface geometry, it have to be rectangle, but the shape is wrong.

<geometry id=“shape1-lib”>
<mesh>
<source id=“shape1-lib-positions” name=“position”>
<float_array id=“shape1-lib-positions-array” count=“12”>
1738660495.4863 12684237096.632 0
1738661083.5701 12684235726.5118 0
1738664785.0153 12684237315.2499 0
1738664196.9315 12684238685.3702 0</float_array>
<technique_common>
<accessor source="#shape1-lib-positions-array" count=“4” stride=“3”>
<param name=“X” type=“float” />
<param name=“Y” type=“float” />
<param name=“Z” type=“float” />
</accessor>
</technique_common>
</source>

    &lt;vertices id="shape1-lib-vertices"&gt;
      &lt;input semantic="POSITION" source="#shape1-lib-positions" /&gt;
    &lt;/vertices&gt;
    &lt;polylist material="CommonMaterial" count="1"&gt;
      &lt;input semantic="VERTEX" source="shape1-lib-vertices" offset="0" /&gt;
      &lt;input semantic="NORMAL" source="shape1-lib-normals" offset="1" /&gt;
      &lt;vcount&gt;4&lt;/vcount&gt;
      &lt;p&gt;0 0 1 0 2 0 3 0&lt;/p&gt;
    &lt;/polylist&gt;
  &lt;/mesh&gt;
&lt;/geometry&gt;

Regards

#2

Probably there’s something wrong with your exporter or generator step. This excerpt has 4 corners and makes a four sided polygon. Or at least from the looks of it. This isn’t a question for this forum, so much as the software you’re using to make the file.

#3

Probably there’s something wrong with your exporter or generator step. This excerpt has 4 corners and makes a four sided polygon. Or at least from the looks of it. This isn’t a question for this forum, so much as the software you’re using to make the file.

+1

Plus; if you develop a tool to export it, then I suggest that test it with IDENTITY transforms first, maybe there is something wrong with transforms which causes different look