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

Reply via email to