Page MenuHomePhabricator

Support separate colors for ambient and diffuse colour in surface rendering
Closed, ResolvedPublic

Description

Please, find attached the files we have changed. We are using MITK_SVN2 repository version. We have changed mitkMaterialProperty.h and .cpp, mitkSurfaceVtkMapper3D.cpp and mitkUnstructuredGridVtkMapper3D.cpp

Regards,

Martin

Related Objects

Event Timeline

The mitk::MaterialProperty is deprecated, see T2709. But we would include similar mapper changes for ambient and diffuse colors. Markus will take care of this next week.

finally, in revision 21408 the material property has been removed.

in the new property scheme there is now support for separate lighting parameters for ambient and diffuse through

material.ambientColor
material.diffuseColor (or if it does not exists, the standard "color" property)
material.ambientCoefficient
material.diffuseCoefficient

closed