I have list of 2d images, I would like to visualize in 3d with volume rendering

I have list of 2d images, I would like to visualize in 3d with volume rendering.

One way is to “merge” them and create a 3D volume dataset . See this filter https://vtk.org/doc/nightly/html/classvtkImageAppend.html#details .

If your data are a DICOM image series you can also render it directly as volume https://vtk.org/doc/nightly/html/classvtkDICOMImageReader.html#details

Check also the volume rendering examples at https://kitware.github.io/vtk-examples/site/Cxx/#volume-rendering .