Skip to content

SuperimposeMesh 0.10.0 (2019-05-06)

Latest
Compare
Choose a tag to compare
@claudiofantacci claudiofantacci released this 06 May 09:11
· 5 commits to master since this release
200b804
Changed behavior
  • SICAD constructs now always require the intrinsic camera parameters.
  • SICAD object construction cannot be procrastinated to a later call of SICAD::initSICAD().
  • SICAD objects now always perform off-screen rendering and the constructor's window_visible parameter has been removed.
CMake
  • The CMake target now has namespace SI:: instead of SuperimposeMesh::.
  • Devel branch will now have +100 on the patch number to differentiate from master branch.
  • assimp library is now serched using YCM Findassimp.cmake.
  • glew library is now serched using YCM FindGLEW.cmake.
  • Use CONFIG mode for glfw3.
  • AddInstallRPATHSupport.cmake is now used from YCM.
  • InstallBasicPackageFiles.cmake is now used from YCM.
  • Import AddDependenciesPrintUtils from robotology/YARP - robotology/visual-tracking-control to visualize the status of dependencies.
  • Removed explicit dependency to OpenGL.
  • Tests are now correctly generated for Visual Studio generator.
Feature
  • SICAD class now provide default OpenGL shaders. The behaviour is the following:
    • By not providing a shader folder path to SICAD constructor, the default shaders will be used.
    • By providing a shader folder path to SICAD constructor, the default shaders will be bypassed.
      Please read the updated documentation of the SICAD class constructors to have a full understanding of this new capability.
  • Add SICAD::superimpose() methods to render images to Pixel Buffer Objects (PBO).
  • Add SICAD::getPBOs() and SICDAD::getPBO(size_t) to access the allow the user to read the PBOs and manipulate the memory on the GPU.
    As an example, the user may map the PBO on a CUDA/OpenCL-enabled GPU and do some processing on the images directly on the GPU, without wasting CPU time and copy on memory overheads.
  • Add SICAD::setMipmapsOpt(SICAD::MIPMaps) public method to change the type of MIPMaps. Can be MIPMaps::nearest or MIPMaps::linear.
  • Improved tests.
  • SICAD will now automatically find mesh textures and select the proper shader program to render them.
Dependencies
  • Added mandatory dependency from YCM release 0.10.2 and above.
  • Minimum required version of Assimp is now 3.3.0.
  • Minimum required version of OpenCV is now 2.4.9.
Test
  • Fixed both AppVeyor and Travis tests.
  • Added tests for mesh with textures.
  • Added tests to use custom, user-provided, OpenGL shaders.