MakieOrg / Makie.jl

Interactive data visualizations and plotting in Julia
https://docs.makie.org/stable
MIT License
2.33k stars 291 forks source link

Cutting planes (volumetric visualization) #3908

Open timholy opened 1 month ago

timholy commented 1 month ago

Feature description

For visualization of volumes that are complex or not very transparent, it would be nice to combine the advantages of volume and volumeslices through implementation of a "cutting plane": on one side of the plane, the volume is rendered, but on the other side it is as if that portion of the object had been cut away. One could then animate the position of the cutting plane to scan through the volume, always seeing the exposed surface. Think, for example, of progressively shaving away the surface of a geode and seeing each newly-exposed face.

For plot types, please add an image of how it should look like

Here's one example: https://youtu.be/IEP0mL8P7GA?feature=shared&t=60

ffreyer commented 1 month ago

2783 effectively implements this, though with the goal of setting a clipping cube for Axis3. If we work out how to do it in WGLMakie and clean up the interface that pr should close this issue.