Skip to content

(graphics): add a material transparency editor

Description

Add new service SMaterialOpacityEditor, a service that allows to edit the opacity of a data::Mesh via data::Material.

Closes #744 (closed)

How to test it?

  • Launch Tuto17SimpleAR
  • load Calibration and the video that comes with the app
  • Open the parameter slide view play with the last slider named "material's opacity"

You should see the opacity of the cube changing as you move the slider.

Data

The data are located in the build directory: ../build/share/sight/Tuto17SimpleAR/

Edited by David SIXELA

Merge request reports