v1.1.0
This release contains an important fix for models that have separate texture_triangle_indices, like e.g. the 4DFM.
It also contains a number of other minor improvements and an updated documentation.
Fixes:
texture_triangle_indicesis now correctly passed along tosample_to_mesh(...)in allMorphableModelmember functions (e598203). Previously,get_meanand thedraw_samplefunctions (except for the one that takes shape, colour and expression coefficients) would have returned a mesh without the texture triangle indices (if theMorphableModelcontained them).
This might actually have been causing wrong code to be run or some bad memory access to - the assert that checks for that insample_to_mesh(...)is not triggered in Release and RelWithDebInfo builds, therefore we haven't caught this for a while.
Now we always handle models correctly that contain texture triangle indices, like the 4DFM.
Minor improvements & changes:
- The documentation at http://patrikhuber.github.io/eos/doc/ is now updated to eos
v1.1.0 - Added
Mesh::ttito the Python bindings (afc80df) - Moved mesh normal computation functions to
eos/render/normals.hppheader (5b6cd23) - Added functions to compute face and vertex normals of a mesh (7af6131)
- Renamed
include/eos/render/utils.hpptotransforms.hpp - Improve error messaging when loading
MorphableModelswith odd versions (41fddf6) - Moved
ray_triangle_intersect(...)to its own header (5b57409) - Added simple image resize function (ae53398)
- Improved the natvis
Imagevisualiser for Image Watch: Set channel type to RGB(A) for 3 and 4 channel images (622fc35)
In-progress changes:
These are in-progress changes on new rendering/texture extraction stuff in the render::v2 namespace - these work in principle but are not too thoroughly tested or used in eos yet.
- Uncommented
v2::extract_texture(...)and updated all affected code (23d0755) - Updated
v2::SoftwareRendererand related code to compile with the latest eos changes and without OpenCV