Thank you so much for showing both methods, after doing some experimenting I like the input selector block.
This is has helped me solve my problem! And to explore new workflows with this project, Thanks!
Original Message:
Sent: 01-24-2025 15:42
From: Zachary Fradette
Subject: Font color - Data driven
Yeah! I've got 2 main ways that I prefer to change text color using visual logic.
Way #1 would be what I use within a setup scene. Because Materials are PROJECT WIDE, if we change a Font Material within Visual Logic, that will apply to the whole material, the whole font, and the whole project. We can use that to our advantage in a scene where I want to set specific font colors for the team as a whole. Maybe, in more than one scene, I'd need to swap from white text to a colored text.
In this example, you see that I grab the first material within the Font, then dive into the Layer1>Colors>Diffuse. You can use the color blocks within VL if you'd like, though you can also just directly set a hex code with it!
Way #2 would be useful if within a single scene I wanted to flip between (maybe a couple different choices) without changing anything else!
In this Visual Logic sequence, I'm using a value block to change between the names of Materials that I'd like to use. That Value block should be changed to be whatever you want. It could be "White/Non-White" or a String Match block that has "White, Black, Primary, Secondary, Tertiary" etc. However you choose to do it! From there, I translate that 'value' into an Input Selector to choose the correct Material Name, then I use a 'display' text object and a 'real' text object with some material tags.
------------------------------
Zachary Fradette
United States
Original Message:
Sent: 01-24-2025 14:25
From: JOSHUA KEAGY
Subject: Font color - Data driven
Awesome.
When the Home/Away team is wearing a white Jersey instead of their normal colors, I'd like to change the color of all the font that is over the light background to the teams "primary" color in the bug. Since there is multiple fonts in the bug (School Name, score, fouls, Pos, etc..) I didn't if there was smart way to change all of them at once.
Hopefully that makes sense
------------------------------
JOSHUA KEAGY
Xpression operator
Blue Ridge 11
Original Message:
Sent: 01-23-2025 16:39
From: Zachary Fradette
Subject: Font color - Data driven
There's a couple of different ways that don't involve scripting!
What are some scenarios that you would see wanting to utilize it with?
------------------------------
Zachary Fradette
United States
Original Message:
Sent: 01-23-2025 14:18
From: JOSHUA KEAGY
Subject: Font color - Data driven
As ESPN CBB bugs "chase" team color backgrouds, therefore all the team font colors change to a Primary or Alt Swatch Color selected via datalinqed to excel.
Is this only possible to change font color (data driven) through Scripting?
I'd like to implement this in our local productions.
Thanks!
------------------------------
JOSHUA KEAGY
Xpression operator
Blue Ridge 11
------------------------------