vMix Forums
»
General
»
GT
»
Rectangle color from Data Sources
Rank: Member
Groups: Registered
Joined: 10/12/2017(UTC) Posts: 13 Location: Astrakhan Was thanked: 1 time(s) in 1 post(s)
|
Hello! I have such a situation, I created a title in GT. This title has a Rectangle that should represent the color of the team's uniform. The color of the jersey is stored and updated in Data Sources. Tell me how to automate this process so that the color of the rectangle takes the value from the Data Sources cell.
"ColorPlayers1": { "BaseColorId": "red", "Name": "Красный", "RValue": 255, "GValue": 0, "BValue": 0 },
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,219 Location: Belgium Thanks: 292 times Was thanked: 955 time(s) in 790 post(s)
|
One can currently not change the color of a rectangle in a GT title via data source directly.
There are workaround varying from changing colored images to using Text Characters color changes.
Has been addressed multiple times in this forum. suggest for a search in this forum and pick the one that suits you best
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 8/5/2013(UTC) Posts: 280 Location: Poland Thanks: 29 times Was thanked: 40 time(s) in 37 post(s)
|
+1
I remember it was possible with an old xaml title.
There's Title with two fields: rectangle and text. The text is not visible.
Rectangle's colour is set with variable attached to text field value.
For example, when I type #ff0000 to text field my rectangle is red. When I type "yellow" the rectangle becames yellow etc...
Is it possible to "hack" GT title saved in gtxml to behave like this?
|
|
|
|
Rank: Advanced Member
Groups: Registered
Joined: 12/27/2012(UTC) Posts: 5,219 Location: Belgium Thanks: 292 times Was thanked: 955 time(s) in 790 post(s)
|
Originally Posted by: r@wisla Is it possible to "hack" GT title saved in gtxml to behave like this?
Sure if you are abel to edit the file with scripting ( its just xml type text) and then reload it ;-) But if you really want to have that possibility for now i would revert to using xaml titles unless the few workarounds (in this forum)are suited for your design
|
|
|
|
vMix Forums
»
General
»
GT
»
Rectangle color from Data Sources
Forum Jump
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.
Important Information:
The vMix Forums uses cookies. By continuing to browse this site, you are agreeing to our use of cookies.
More Details
Close