Results 1 to 3 of 3

Thread: Imported COLLADA file has wrong geometry

  1. #1
    Newbie
    Join Date
    Jan 2018
    Posts
    1

    Post Imported COLLADA file has wrong geometry

    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>

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

  2. #2
    Senior Member
    Join Date
    Mar 2016
    Posts
    115
    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.
    This account can Moderator spam in the COLLADA forum.
    ColladaDOM 3 (COLLADA-DOM 2016)
    https://sourceforge.net/p/collada-do...ussion/531263/

  3. #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

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Proudly hosted by Digital Ocean