Hi,
I downloaded the code from here->medicalDemo4 and modified a little.
The ripples(dont know how to name it) intensified but I dont know how to get rid of it.
Here are what I modified.
from
vtkFixedPointVolumeRayCastMapper
to
vtkGPUVolumeRayCastMapper
enable jittering of the ray starting position: adds a subtle noise pattern but does not increase rendering time; or
reduce sampling distance: this removes the artifacts without adding a noise pattern, but slows down rendering; or
make the ramp in your scalar opacity transfer function a bit less steep: this blurs the boundary a bit, which is also helpful for reducing staircase artifacts (that occurs when volume spacing is anisotropic)
For such trivial bone visualization (when image quality is this good) you can also use surface rendering (get isosurface by flying edge filter and smooth using vtkWindowedSincPolyDataFilter). Surface rendering has a number of advantages: rendering time is negligible, you can display many structures, easily show/hide them, use advanced lighting (PBR), use GPU-based picking, etc.