The Scene Opacity Effect lets you show, fade or hide tagged geometry and text labels for each stack screen or tab, which can be used to make the geometry that the active part of the UI controls stand out. The scene changes instantly as the user moves between screens, without a new compute.

scene-focus-demo.gif

Example of the scene opacity effect. On the Front screen, the other faces fade and only the front face's labels show.

👉 Try the example configurator live here: LINK

👉 Download the example Grasshopper definition at the bottom of the page, under Download the example definition.

How the scene opacity effect works

The scene opacity effect is set up in three steps:

  1. Tag the geometry and text labels.
  2. Create a Scene Opacity Effect for each change you want on a screen.
  3. Attach the effects to a stack screen or tab item.

Step 1: Tag the geometry and labels

<aside> 💡

Give every label a shared tag, such as labels, plus a specific one, such as face-front-label. One effect can then hide all labels, and the next one can bring back only the ones the screen needs.

</aside>

Step 2: Create the effect

Use the Scene Opacity Effect component (Modelup › GUI). Each component sets one opacity on one set of objects.

Input Description
Tags (T) The tags the effect refers to. They must match the tags from step 1.
Opacity (O) 0 hides, 1 shows fully, anything in between fades. This applies to meshes and text labels alike. Values outside 0–1 are clamped, with a warning.
Applies To (A) Tags: objects carrying any of the tags. AllExceptTags: every other object, untagged ones included. Right-click to pick. Default: Tags.

The Effect (E) output goes to Attach GUI Effect.

Step 3: Attach the effect to a screen or tab