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
r5dad  
#1 Posted : Saturday, March 23, 2019 4:44:20 AM(UTC)
r5dad

Rank: Advanced Member

Groups: Registered
Joined: 10/20/2016(UTC)
Posts: 57
Location: Virginia-USA

Thanks: 5 times
Was thanked: 6 time(s) in 4 post(s)
I'd like to make a graphic that reveals, or "fills" a container based on progress from other data held in a datasource.

Is it possible to set a transition to use data in the form of .01 to 1 (or %)?

Or Crop amount from datasource?

thanks
Jon
doggy  
#2 Posted : Saturday, March 23, 2019 5:56:06 AM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,075
Belgium
Location: Belgium

Thanks: 284 times
Was thanked: 920 time(s) in 759 post(s)
r5dad  
#3 Posted : Saturday, March 23, 2019 7:33:29 AM(UTC)
r5dad

Rank: Advanced Member

Groups: Registered
Joined: 10/20/2016(UTC)
Posts: 57
Location: Virginia-USA

Thanks: 5 times
Was thanked: 6 time(s) in 4 post(s)
Thanks! Looks awesome, I'll give this a shot.

So the numbers are great, but the goal I'm looking at using will have 50,000 as being "full"

When I just set your example's text to 50k, it was way too big for the screen. How do I set size constraints?


Sorry, this is literally my first XAML file!!

Jon
doggy  
#4 Posted : Saturday, March 23, 2019 5:14:20 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,075
Belgium
Location: Belgium

Thanks: 284 times
Was thanked: 920 time(s) in 759 post(s)
Quote:
When I just set your example's text to 50k, it was way too big for the screen. How do I set size constraints?


suggest you add calculated appropriate value for the graphic from your original value in your datasource to bind to
you can always use a hidden (not visible in title) textblock for that calculated value and use a visible one to display the original value
r5dad  
#5 Posted : Monday, March 25, 2019 8:53:13 AM(UTC)
r5dad

Rank: Advanced Member

Groups: Registered
Joined: 10/20/2016(UTC)
Posts: 57
Location: Virginia-USA

Thanks: 5 times
Was thanked: 6 time(s) in 4 post(s)
THanks,

I've spent the past few days messing with xaml trying to figure it out and see if it will work for what I'm trying to do.

While it can "reveal" a filled box, and do it pretty cool, It's not quite what I'm hoping for.

I can't seem to figure out how to use a jpg instead of a box, and then I tried to see if I could chroma key out said box to reveal my graphic but obviously that doesn't work.

Instead I'll have my datasource do the calculations, and see if I can't get after effects to display something and send it NDI.

Thanks again
Jon
doggy  
#6 Posted : Monday, March 25, 2019 2:34:10 PM(UTC)
doggy

Rank: Advanced Member

Groups: Registered
Joined: 12/27/2012(UTC)
Posts: 5,075
Belgium
Location: Belgium

Thanks: 284 times
Was thanked: 920 time(s) in 759 post(s)
Quote:
Instead I'll have my datasource do the calculations


Yes as xaml can not do calculations

Quote:
I can't seem to figure out how to use a jpg instead of a box, and then I tried to see if I could chroma key out said box to reveal my graphic but obviously that doesn't work.


Hard to envision what you are envisioning but there is also masks and positions etc that one can be bind to
Users browsing this topic
Guest
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.