Improve visual appearance for depth surface

- disable intersection geometry with cell property colors
- allow opacity
- set default color to blue, as most user use this plane for oil-water contact
This commit is contained in:
Magne Sjaastad committed 2024-08-28 09:22:55 +02:00
1 parent 0fd27a3a8d
commit 64a559756f
7 files changed
+96 -5

No files matched your search

@@ -44,6 +44,10 @@ void RicNewDepthSurfaceFeature::onActionTriggered( bool isChecked )
auto surface = new RimDepthSurface;
// As this surface is usually a oil-water contact, we set the color to blue
surface->setColor( cvf::Color3f::BLUE );
surface->setOpacity( true, 0.6f );
auto allCases = RimProject::current()->allGridCases();
if ( !allCases.empty() )
{