Commit 4a53fe139ef557994b668304062e1befa92e29fb

Authored by Paulo Henrique Junqueira Amorim
1 parent b911f5a1

ENH: Improved support gpu raycasting

Showing 1 changed file with 2 additions and 1 deletions   Show diff stats
invesalius/data/volume.py
... ... @@ -420,7 +420,8 @@ class Volume():
420 420 self.volume_properties.SetSpecularPower(shading['specularPower'])
421 421  
422 422 def SetTypeRaycasting(self):
423   - if self.volume_mapper.IsA("vtkFixedPointVolumeRayCastMapper"):
  423 + if self.volume_mapper.IsA("vtkFixedPointVolumeRayCastMapper") or self.volume_mapper.IsA("vtkGPUVolumeRayCastMapper"):
  424 +
424 425 if self.config.get('MIP', False):
425 426 self.volume_mapper.SetBlendModeToMaximumIntensity()
426 427 else:
... ...