DepthPeeling support

Hey,

Does vtk.js support DepthPeeling ? I didn’t succed to find anything that say so!
I’m planning to use it on a head volume to isolate the brain.
If it is not supported, is there an alternative way to do so with Javascript?

Thank you!

The latest version of vtk.js supports order-independent transparency for geometry. It’s not depth peeling, but rather a different approach.

Thank you for your answer, what about volumes (.vti) rather than geometry?
Is there any docs or examples for that?

AFAIK the WebGPU implementation has it for volumes, but unsure about the WebGL component. It’s been a while since I paid much attention to that. @ken-martin

I think you are talking about Volumetric Depth peeling maybe? We often talk about the polygonal surface depth peeling algorithm which is used proper rendering of translucent surfaces. For volumes this happens by default. So it is there.

But some people use depth peeling to mean “looking under some other surface” by ignoring voxels before you hit a specific range of values. Sort of like a clipping plane but based on voxel values. Without knowing what you mean by depth peeling I’m not sure how to direct you.