Tutorials

Isolating Modifiers

Previous Next

 

In some cases users may want to toggle a modifier based on it's name. Below are some examples demonstrating various ways to override modifiers.

 


 

Isolating Modifiers

In this example we want to turn off all the modifiers who's name starts with "x", followed by turning on the modifier who's name ends with "Shot002".

 

This first thing we will do is create the Isolate Modifier node in Vexus. Below is a screenshot showing the settings of the graph node.

 

 

Method = Scene Objects

This means we will be affect all scene objects.

 

Prefix = x

Any modifier whose name starts with this value will be turned off.

 

Suffix = Shot002

Any modifier whose name ends with this value will be turned on.

 

 

Next we setup our modifiers and name them according to our isolate modifier parameters.

 

Before

Shows what the modifier looks like before the graph is executed.

After

Shows what the modifier looks like after the graph is executed.

 


 

Isolating Modifiers Dynamically Per Shot

In this example we want to turn off all the modifiers who's name starts with "x", followed by turning on the modifier who's name ends with the current Shot being executed. In order to do this we will be using a Token to dynamically populate the suffix parameter of the Isolate Modifier node.

 

This first thing we will do is create the Isolate Modifier node in Vexus. Below is a screenshot showing the settings of the graph node.

 

 

Method = Scene Objects

This means we will be affect all scene objects.

 

Prefix = x

Any modifier whose name starts with this value will be turned off.

 

Suffix = $$SHOT

Instead of using plain text here, we will use a Token.To further explain, when the graph is executed it will dynamically fill in this parameter with the name of the current Shot node being executed. So any modifier whose name ends with the matching shot node's name, will be turned on.

For more information check out Using Tokens.

 

 

Next we have to create and name the Shot nodes needed for this setup. The virtual name parameter of the Shot node is what populates the token $$SHOT. As seen below we name our shot nodes to match the names of the modifiers.

 

 

 

Next we setup our modifiers and name them according to our isolate modifier parameters.

 

Before

Shows what the modifier stack look like before the graph is executed.

After

Shows what the modifier stack looks like after the Shot002 node is executed.

 

 


 

Copyright © 2019 Boomer Labs and JokerMartini

http://boomerlabs.com/vexus