Hi everybody,
Is there anyway to render two volumes (for example, CT and MR volumes) in the 3D scene at the same time using volume rendering? Thanks!
Hi everybody,
Is there anyway to render two volumes (for example, CT and MR volumes) in the 3D scene at the same time using volume rendering? Thanks!
in my opinion there are still no module could achieve that goal
Right - currently only one volume at a time can be volume rendered, but there are some new developments underway that should support multiple volume rendering in the future.
Here is the pull request of multi-volume rendering in VTK:
It’ll probably take a few months (depending on how urgently a specific project needs this) to get it integrated into Slicer.
Note that multi-volume rendering is only useful in very specific cases, i.e., when displayedstructures just barely overlap. In general, you still need to segment your volumes before visualization, so don’t expect any radical change in processing & visualization workflow - just more colorful images and structures with smoother-looking boundaries.
Just to clarify. If you don’t need them to be superimposed in the same rendering window, you can choose switch to dual 3D layout, assign each volume to a different viewport, adjust their volume properties and finally link cameras.
That way you can see both MR and CT in 3D scene at the same time, just not as superimposed volumes.
it’s a good idea, thanks!
@cpinter is working on adding rendering of multiple volumes. In the latest nightly, you can already show multiple volumes using 3D volume rendering (raycasting). The limitation is that only non-overlapping volumes are displayed correctly.
Soon @cpinter will integrate his latest enhancements that allow correct rendering of overlapping volumes (using VTK’s multi-volume GPU renderer).
Indeed. Just to keep expectations in bay, VTK’s multi-volume renderer has issues, such as lack of shading support and significantly lower performance than the current GPU renderer. I’ll follow up with VTK developers about these and see if something can be done in reasonable time. This should be available in Slicer core sometime next week.
@wpgao Since the integration of multi-volume support in volume rendering that happened this week, it is now possible to do what @muratmaga suggested. You can show multiple volumes and turn on only one view for each.