Thank you for the idea Simon. Here is the challenge. We are creating a state map that gives the user a choice of five colors for each county. Using materials It works, but there are 39 counties so there are 195 materials for just the counties. We're looking for different ways to accomplish this without all the materials. We tried via script to change the change the .r .g and .b values, but the problem is when you have a map online and have a 2nd map that you select in preview that has a different color for a county, it changes the on-air value.
If you have a better idea, please pass it along. I've been playing with VL, scripting and various material options like multiple layers/shaders, but have not come up with a solution so far.
------------------------------
Daryl Judd
Sbgtv
------------------------------
Original Message:
Sent: 04-04-2021 05:37
From: Simon Redmile
Subject: Material Layer selected based on Datalinq?
Not sure how you were doing it without script or vl, it would need to use the API is my guess. If you want an easy way to do it here's how to solve it using VL. All you'd have to do is change where I have used a text block to a datalinq block.
If the data isn't numbers you can either use VL to convert or assign columns in user input control lists to convert. Let me know if you need help with this.


------------------------------
Simon Redmile
Ross Video
Original Message:
Sent: 07-23-2020 15:32
From: Jeff Bins
Subject: Material Layer selected based on Datalinq?
Awhile ago I setup a Cube Object to change its face color based on a datalinq value. The problem is I can not find, or figure out how I did it.
Inside my material I have several layers all with Gradient textures. When I change my datalinq value, it hides or turns on the correct . There is no script in the scene, there is no script in the scene director, there is no visual logic and there is no datalinq attached to the object. Can anyone help me remember how I did this?
