Problem with vertex color

Blitz3D Forums/Blitz3D Programming/Problem with vertex color

Vertigo(Posted 2012) [#1]
I am attempting to write a mesh importer from files generated by a custom maya script. In order to retain proper normal information the faces are split and some redundant vertices are created. Welding them seems like a slow fix as a work around. I am trying to find a way to not have the following effect on the vertex colors(see image).

http://imgur.com/R7VoO

All info is proper, location, normal, uvs. If I do not apply the vertex colors then you would never notice an issue. So I am just curious if there is a way to construct the tris to use both normal and vertex color info without producing that effect.

Thanks,
-Vert


Ross C(Posted 2012) [#2]
It looks like your not setting the vertex colour on the bottom triangles top and left vertices.