[Bf-python] Collada Importer - Issue with Mesh Vertex Normals

Khalifa Lame khalibloo at gmail.com
Wed Jun 22 21:06:27 CEST 2016


Hello. I recently did some work on collada files exported from blender.
>From what I understood from the collada wiki from Khronos, the mesh normals
xml node in the collada file should contain a trio of number values for
each vertex. In other words, the mesh normals should have exactly the same
number of entries as the vertex positions.

This isn't always the case, however, when you inspect collada files
exported from blender. Sometimes, there are more normals than vertices;
sometimes, there are less. They hardly ever match.

Is this a bug on blender's part? or is this intentional? if so, could
someone please help me understand the logic behind it and how to read the
normals reliably?

This doesn't seem like a python question specifically, but if it turns out
to be a bug, I'll have to write a python script to modify that behavior.

-- 
khalibloo®
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.blender.org/pipermail/bf-python/attachments/20160622/fb0b2fae/attachment.html>


More information about the Bf-python mailing list