seredahmet / opencollada

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

Vertex color export bug in the Maya plugin #64

Open GoogleCodeExporter opened 9 years ago

GoogleCodeExporter commented 9 years ago
I'm using the OpenCOLLADA plugin (1.2.2.674) for Maya 2010 (64bit).

It would seem that the vertex color export is broken: it systematically
defaults to 0, turning the whole object into whatever the first vertex's
color is. Here is the example (arranged in columns) of the following snipped:

       <triangles count="2" material="polygon-01-coloredChecker_SHD">
         <input semantic="VERTEX" source="#polygon_MSHShape-vertices"
offset="0"/>
         <input semantic="NORMAL" source="#polygon_MSHShape-normals"
offset="1"/>
         <input semantic="COLOR" source="#polygon_MSHShape-colorSet1"
offset="2"/>

(Vertex/Normal/Color)
     0 0 0
     3 1 0
     2 2 0
     0 3 0
     1 4 0
     3 5 0

As you can see, the last column is supposed to relate to the array of
vertex color, but instead it is only 0 all the way. Instead of being
something more like:

     0 0 0
     3 1 1
     2 2 2
     0 3 3
     1 4 4
     3 5 5 

Original issue reported on code.google.com by seit...@gmail.com on 19 Mar 2010 at 8:34

GoogleCodeExporter commented 9 years ago
I second that. Same experience with Win 7 Maya 2011 64 bit, COLLADAMaya 
1.3.0rc1, and 1.2.2. on OS X 10.6 Maya 2011 64 bit. 

cheers, 

h

Original comment by heinrich...@gmail.com on 13 Aug 2010 at 2:35

GoogleCodeExporter commented 9 years ago
We're having the same issue (looks like its noted in bug IDs 88 and 100 as 
well).

We use your released version of the exporter and don't build our own, and thus 
we cannot take advantage of your patch fix noted in issue 100.  Any estimate on 
a released fix for this one? It's basically a show stopper for us, as we use 
vertex colors extensively on our assets...

Thanks Julien!

Original comment by kproudf...@gmail.com on 17 Nov 2010 at 9:53

GoogleCodeExporter commented 9 years ago
I have a fix for this I will be posting a new bug with the fix in it for the 
devs to integrate.

Original comment by martin.b...@gmail.com on 19 Nov 2010 at 3:48

GoogleCodeExporter commented 9 years ago

Original comment by opencollada2@googlemail.com on 19 Jan 2011 at 8:20