unibas-gravis / scalismo-faces

Scalable Image Analysis and Shape Modelling: Module to work with 2d images, with a focus on face images
Apache License 2.0
118 stars 27 forks source link

Fixes #100 bug in MeshIO when writing OptionalColorNormalMesh without normals but with color #101

Closed Andreas-Forster closed 6 years ago

Andreas-Forster commented 6 years ago

The change in the behavior is, that given there is color given as a TextureMappedProperty[RGBA] but no normals, we calculate the vertex normals based on the shape before writing the mesh to disk. This solves that given color but no normals only the shape was written to disk.