VTK JS Image Slicing basics


I was experimenting with the image slicing example

which are really nice btw. But if I change




The rendered image disappears (no errors). I was expecting it to take the slices using a Y- orthogonal plane instead. What else do I need to change?

Hi Kit,

Have you updated your camera as well? The rendered slice respects world orientation, so showing a Y-slice when the camera is looking down the Z axis will “disappear” from the camera’s POV.

That was it. Thanks.