Commit 4d9105d95a2776db716663e7b9f87ac6769235c0

Authored by Thiago Franco de Moraes
1 parent ed9f72f9
Exists in master

Improved mask raycasting color and visibility

Showing 1 changed file with 2 additions and 2 deletions   Show diff stats
invesalius/data/volume.py
... ... @@ -768,8 +768,8 @@ class VolumeMask:
768 768 self._volume_property.SetScalarOpacity(self._piecewise_function)
769 769 self._volume_property.ShadeOn()
770 770 self._volume_property.SetInterpolationTypeToLinear()
771   - #vp.SetSpecular(1.75)
772   - #vp.SetSpecularPower(8)
  771 + self._volume_property.SetSpecular(0.75)
  772 + self._volume_property.SetSpecularPower(2)
773 773  
774 774 if not self._volume_mapper.IsA("vtkGPUVolumeRayCastMapper"):
775 775 self._volume_property.SetScalarOpacityUnitDistance(pix_diag)
... ...