Skip to content

v1.1.0

Compare
Choose a tag to compare
@patrikhuber patrikhuber released this 01 Mar 19:28
· 200 commits to master since this release

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_indices is now correctly passed along to sample_to_mesh(...) in all MorphableModel member functions (e598203). Previously, get_mean and the draw_sample functions (except for the one that takes shape, colour and expression coefficients) would have returned a mesh without the texture triangle indices (if the MorphableModel contained them).
    This might actually have been causing wrong code to be run or some bad memory access to - the assert that checks for that in sample_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::tti to the Python bindings (afc80df)
  • Moved mesh normal computation functions to eos/render/normals.hpp header (5b6cd23)
  • Added functions to compute face and vertex normals of a mesh (7af6131)
  • Renamed include/eos/render/utils.hpp to transforms.hpp
  • Improve error messaging when loading MorphableModels with odd versions (41fddf6)
  • Moved ray_triangle_intersect(...) to its own header (5b57409)
  • Added simple image resize function (ae53398)
  • Improved the natvis Image visualiser 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::SoftwareRenderer and related code to compile with the latest eos changes and without OpenCV