I am probably overthinking this, and most likely there is a very trivial way of achieving this. However, here is my question:
I am attempting to recreate a similar image using PV, where a parametric water column (i.e. a semi-transparent box) is clipped at the bottom using the sea floor (which I have in a netcdf, as lat, lon, depth).
When extruding the sea floor (wrap by scalar) I get the bottom, now I am failing when attempting to “fill” that rectangle with water.
The idea I had, was to add a box (representing water column), and then somehow persuade PV to only show the part of that box that is ABOVE my seafloor. Something along these lines:
I am a bit confused by what you are asking. You can create a Box source, size and locate it so that it fills the region above your surface, and make your desired color with a low opacity.
The surface is opaque, so it will naturally hide the part below so you only really see the part above. Perhaps you don’t want to see that little bit on the side where the box extends past the bottom of the surface. That part is a bit tricky, but you can start by using the Linear Extrusion filter on the surface. Make the extrusion go in the “down” direction, which is probably in the negative Z direction.
You might find some Z-buffer fighting in that region where the box and extruded surface overlap (as you see in this example). This can be fixed by making the box slightly smaller so that it lies behind the extruded surface but not enough to otherwise be noticeable.