kaolin
kaolin copied to clipboard
Fix the problem of loading obj file with vertex color
Some .obj files may contain vertex colors in "v" field.
https://en.wikipedia.org/wiki/Wavefront_.obj_file#Geometric_vertex
In this case, each "v" line contains x y z
and r g b
. The old way will load the colors as coordinates which is wrong.