logo

Live Production Software Forums


Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Options
Go to last post Go to first unread
Peter1000  
#1 Posted : Friday, January 1, 2021 7:43:10 PM(UTC)
Peter1000

Rank: Advanced Member

Groups: Registered
Joined: 1/25/2019(UTC)
Posts: 220
Switzerland

Thanks: 9 times
Was thanked: 47 time(s) in 37 post(s)
I have been looking for a simple solution for growing bars with the GT Title.

Here now my example, how I tried to solve this.

The gtzip template has ONE bar, consisting of 579 individual text fields (hard work :-), each 3 pixels wide, each with the character "full block" of Arial █

Load the GT title growingbars1.gtzip into vMix.
Adjust the size and position of the first bar with the Position sliders of this Input.
Create 3 virtual copies of this bar.
Move them with the Position sliders to the right position in each Input.

(IMPORTANT) Rename the 3 copies to:
growingbars2.gtzip
growingbars3.gtzip
growingbars4.gtzip

load a Color Transparent input.
add the 4 growingbar titles to the multiviewer.
This input is then your finished overlay signal.

For the bars to move, 2 scripts are needed.
one to clear the bars
one to make the bars grow.

The scripts are loaded with the preset.

for testing, please put all parts on the desktop.
-Project growingbars.vmix
-GT title growingbar1.gtzip

All necessary variables can be changed in the script growingbars.
(color,transparence of the bar, speed, percentages)
The script is designed for a total of 100%.

The bar width is adjusted automatically, i.e. the participant with the highest percentage gets the full bar width.

Shortcuts:
C clears the bars
G starts bars growing

All needed files (project, titel) are here
doggy  
#2 Posted : Friday, January 1, 2021 9:44:10 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 3,581
Belgium
Location: Belgium

Thanks: 197 times
Was thanked: 643 time(s) in 525 post(s)
Nicely done Peter

Quote:
579 individual text fields ????


One for the bar and one for the value (percentage) :-)



One constant running script to translate user value (could be from datasource) , another if one wants to do a full grow or shrink animation
LMTunkara  
#3 Posted : Wednesday, November 10, 2021 10:55:54 PM(UTC)
LMTunkara

Rank: Member

Groups: Registered
Joined: 7/18/2019(UTC)
Posts: 12
Gambia
Location: West Africa

Thanks: 4 times
Firstly, thanks for sharing your work.

I was wondering, how can I make a bar that changes size based on data input? I am working on an election package and want to make a bar graph that represents the various percentages candidates receive?

Cheers

Lassana Tunkara
doggy  
#4 Posted : Thursday, November 11, 2021 12:40:56 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 3,581
Belgium
Location: Belgium

Thanks: 197 times
Was thanked: 643 time(s) in 525 post(s)
Originally Posted by: LMTunkara Go to Quoted Post
Firstly, thanks for sharing your work.

I was wondering, how can I make a bar that changes size based on data input? I am working on an election package and want to make a bar graph that represents the various percentages candidates receive?

Cheers

Lassana Tunkara


Thats what all the above does. There is also another post in this forum from someone who created something for election results
LMTunkara  
#5 Posted : Thursday, November 11, 2021 12:52:20 AM(UTC)
LMTunkara

Rank: Member

Groups: Registered
Joined: 7/18/2019(UTC)
Posts: 12
Gambia
Location: West Africa

Thanks: 4 times
I see. Let me dl the files and see if I can work it out.

Cheers
Users browsing this topic
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.