Using IndexedLookUp color in volume rendering

Hi Andras,

Thanks for your help! I’m actually asking about the gradient color but I figured out that was because I’m not correctly using the double type for RGB value.

Although the result works as expected, I noticed the issue you mentioned here. Some structures are incomplete, and I didn’t know what happened until I got your answer. So, thanks so much for that!

I’m using VTK 8.2.0 right now, and that’s probably why it still works with me. This is actually a MIP volume rendering, so I thought it’d be fine with the “classify-first,” but it actually doesn’t work well.

One more question about the “full-color RGBA volume rendering”. I’m not sure what you mean by “directly uses a scalar value as the color volume rendering”? Right now, I set the scalar value in a scalar dataArray under the vtkImageData and then use the LuT for the color. Is there something that I can “pass the scalar to the color” to skip the LuT?

Thank you!