matrakim / opencollada

Automatically exported from code.google.com/p/opencollada
0 stars 0 forks source link

inputs array reads 6 indices, but only enough indices for 5 indices per vertex #115

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
What steps will reproduce the problem?

The only repro model I have is very very large.

What is the expected output? What do you see instead?

Here is part of the output. The <p> element only contains 11760 indices, 
instead of the 14112 expected.

        <vertices id="geom-Sphere01-vertices" name="geom-Sphere01-vertices">
          <input semantic="POSITION" source="#geom-Sphere01-positions"/>
        </vertices>
        <triangles material="DefaultSG" count="784">
          <input semantic="VERTEX" source="#geom-Sphere01-vertices" offset="0"/>
          <input semantic="NORMAL" source="#geom-Sphere01-normals" offset="1"/>
          <input semantic="TEXCOORD" source="#geom-Sphere01-geom-Sphere01-map1" offset="2" set="0"/>
          <input semantic="COLOR" source="#geom-Sphere01-geom-Sphere01-map-1" offset="3"/>
          <input semantic="COLOR" source="#geom-Sphere01-geom-Sphere01-map0" offset="4"/>
          <input semantic="TEXTANGENT" source="#geom-Sphere01-textangents" offset="5" set="0"/>
          <input semantic="TEXBINORMAL" source="#geom-Sphere01-texbinormals" offset="5" set="0"/>
          <p>... 11760 entries, not 14112 </p>

What version of the product are you using? On what operating system?

Maya 2011, windows xp, OpenCOLLADA_Maya_1.3.0rc1.7z

Original issue reported on code.google.com by martin.b...@gmail.com on 30 Sep 2010 at 6:46

GoogleCodeExporter commented 8 years ago
This was on a file that had been exported from max using openColladaMax and 
then imported into maya using openColladaMaya, before being exported again.

Original comment by martin.b...@gmail.com on 22 Oct 2010 at 7:04

GoogleCodeExporter commented 8 years ago
please provide us with the corresponding .ma or .max file to reproduce the 
error. Thanks

Original comment by schwarz@netalliedsystems.com on 25 Oct 2010 at 9:22

GoogleCodeExporter commented 8 years ago
Here's another file that exhibits the symptoms.
We managed to localize it to a single object, and this is the only object in 
the file.

Our artist thinks it has something to do with the "object history" because he 
sent me a version with this deleted and it exported OK.

Regardless, the resulting collada file is malformed, since the accessor 
specifies 7 indices per vertex, but there are only enough indices for 5 indices 
per vertex.

Original comment by martin.b...@gmail.com on 12 Nov 2010 at 9:59

Attachments:

GoogleCodeExporter commented 8 years ago

Original comment by opencollada2@googlemail.com on 25 Jan 2011 at 12:52