Hi Sven,
As far as I know we are *currently* using the vtkSmartVolumeMapper [1]. I think
this isn’t the case for the last release 2016.11. Therefore, please give us
more information of your setting/configuration in the future. In the former
case, the shading is set through the vtkVolumeProperty [2] and as far as I can
see we are using this to pass some shading value from respective MITK
properties, see [3].
[1] https://www.vtk.org/doc/nightly/html/classvtkSmartVolumeMapper.html
[2] https://www.vtk.org/doc/nightly/html/classvtkSmartVolumeMapper.html
[3]
https://github.com/MITK/MITK/blob/master/Modules/MapperExt/src/mitkVolumeMapperVtkSmart3D.cpp#L70-L80
Best,
Stefan
From: svenuwag...@t-online.de [mailto:svenuwag...@t-online.de]
Sent: Mittwoch, 5. September 2018 17:38
To: mitk-users@lists.sourceforge.net
Subject: [mitk-users] Volume Rendering DICOM-Dataset
Hello MITK users,
I am working on a MITK plugin and use the Volume Visualization plugin to render
a 3d DICOM-Dataset in a preprocessing step. After rendering the DICOM-Dataset I
want to change the lightning in the scene using my plugin. The scene should
contain one positonal light only.
My problem is that the lightsource seems to be a nonpositional for the
DICOM-Dataset. To check the light settings I added a vtkPlanesource to the
scene. The result is that the light behaves the way I supposed (influence of
the attenuation value and cone angel are reconizable). In the same scene with
the DICOM-Dataset only changes of the lightning direction lead to a different
lightning. The attenuation value and cone angel have no influence on the
lighning of DICOM-Dataset. I also changed the volume rendering properities of
the datanode containing the DICOM-Datatset and set the ambient lightning to
zero. So when I turn off the light the DICOM-Dataset is completly dark, which
proves that it is the only lightsource in the scene (also reconizable on the
vtkPlanesource where some parts are not lighted).
The question: How is it possible to use positional lighning during the volume
visualization of a DICOM-Dataset?
Thanks for your help!
Sven
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
mitk-users mailing list
mitk-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/mitk-users