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
Delavor  
#1 Posted : Monday, May 4, 2015 6:05:47 PM(UTC)
Delavor

Rank: Newbie

Groups: Registered
Joined: 5/4/2015(UTC)
Posts: 6
Location: Poland, Warsaw

Hello,

I created simple animation in Blend for Visual Studio 2013, of course with WPF 3.5 for vMix and it's working but after end stop, there is no pause like in the default titles. How can I fix that?
Delavor  
#2 Posted : Monday, May 4, 2015 6:36:00 PM(UTC)
Delavor

Rank: Newbie

Groups: Registered
Joined: 5/4/2015(UTC)
Posts: 6
Location: Poland, Warsaw

Ok, i give you code, maybe it help

http://pastebin.com/5SEzB8NW
Thremir  
#3 Posted : Tuesday, May 5, 2015 4:58:21 AM(UTC)
Thremir

Rank: Advanced Member

Groups: Registered
Joined: 9/17/2013(UTC)
Posts: 173
Man
Location: Norway

Thanks: 10 times
Was thanked: 56 time(s) in 29 post(s)
You will need to add a second storyboard named "storyboard2", this will be used as the out-animation, while the "storyboard1" is the in animation.

Cheers,
Håvard
Delavor  
#4 Posted : Tuesday, May 5, 2015 8:12:23 AM(UTC)
Delavor

Rank: Newbie

Groups: Registered
Joined: 5/4/2015(UTC)
Posts: 6
Location: Poland, Warsaw

Dear Håvard,

Thanks but still does not work. There is a video how it works for me.


And there is a project files
https://drive.google.com...xWEE1Slk&usp=sharing
DYosua  
#5 Posted : Tuesday, May 5, 2015 9:51:16 PM(UTC)
DYosua

Rank: Advanced Member

Groups: Registered
Joined: 2/24/2014(UTC)
Posts: 45
Man
United States
Location: Maine, USA

Thanks: 26 times
Was thanked: 14 time(s) in 12 post(s)
I believe vMix reverts back to the Storyboard-less layout once Storyboard1 completes. That layout looks like it's the same as the beginning frame of Storyboard1 (with the opacity of all the objects set to 0, positioned differently, etc.). If you set the default layout to be the same as the end frame of Storyboard1, I think it should work.

To test, I created a colored square and put it on the left side of the screen. In Storyboard1, I moved it from the left of the screen to the right side of the screen during the animation. When playing it in vMix, the square moved back to its initial spot on the left side of the screen when the transition in animation was done and everything else disappeared. So if your main layout reflects the last frame of Storyboard1 rather than the first, I think it should play correctly.
IceStream  
#6 Posted : Tuesday, May 5, 2015 11:26:41 PM(UTC)
IceStream

Rank: Advanced Member

Groups: Registered
Joined: 3/7/2012(UTC)
Posts: 2,603
Man
Location: Canada

Thanks: 33 times
Was thanked: 501 time(s) in 470 post(s)
@ Delavor & DYosua

I am by no means a programmer or familiar with Blend, but I agree with DYosua that the issue is with the 'master' or default opacity of the elements in your animation.
Unfortunately, with my feeble attempt to manually alter the opacity settings from "0" to "1" in the script, although partially successful, it messes up the overall effect of the animation.
Essentially, the script is doing exactly what you are asking, as soon as it plays out, it reverts to the 'default' state, namely Opacity="0" and vice versa on the out animation.
If you are somehow able to "pause" the last frame of the animation 'IN' and/or first frame of the animation 'OUT', you may be able to salvage the nice work you have already done.
Other than that, it may need to be reworked as DYosua suggests.


Ice
Thremir  
#7 Posted : Wednesday, May 6, 2015 5:06:31 AM(UTC)
Thremir

Rank: Advanced Member

Groups: Registered
Joined: 9/17/2013(UTC)
Posts: 173
Man
Location: Norway

Thanks: 10 times
Was thanked: 56 time(s) in 29 post(s)
We contacted at skype and figured it out yesterday. It was indeed the default/master state of the project that were invisible.

Cheers,
Håvard
madness  
#8 Posted : Wednesday, May 6, 2015 10:54:05 AM(UTC)
madness

Rank: Advanced Member

Groups: Registered
Joined: 4/16/2013(UTC)
Posts: 406
Man
Location: Iowa

Thanks: 281 times
Was thanked: 32 time(s) in 29 post(s)
Could you share the working code for example sake?
Users browsing this topic
Guest
Similar Topics
XAML/WPF title animation as NDI Source (NDI)
by doggy 11/12/2016 8:32:16 AM(UTC)
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.