Rank: Advanced Member
Groups: Registered
Joined: 8/7/2015(UTC) Posts: 31
Thanks: 12 times Was thanked: 3 time(s) in 3 post(s)
|
Originally Posted by: raugert Hi Mark, I found that you can send a command through the API to load a "Page" within the title, but not a layer. If you build your title with that in mind, you might be able to accomplish your goal. I'm trying this method to reveal the 'Timeout" flags. For example, using Page1 to hide all the flags, Page2 to reveal HomeTeam TimeOut, and Page3 to reveal AwayTeam TimeOut. So far it works OK, but I can't seem to fade out the flags on Page1, I can only hide them. If I use a Fade animation, it actually shows both TimeOut flags first, and then fades them out. I'll still play with this.. An example command is : http://127.0.0.1:8088/api/?Function=TitleBeginAnimation&Input=1&Value=Page2 You can experiment with this... cheers, Richard Thanks for the reply and for posting the API command, I am sure that will be useful in the future :-), just not for this particular problem :-( The reason I don't think that would work is I am trying to get the times to slide in as the swimmer hits the end of the pool and there is not enough pages to cover all the combinations of who came 1st,2nd,3rd etc and make them appear in the right order. Dusting off my maths... With 1 lane there is only 1 possibility of who came first With 2 lanes you could get 1,2 or 2,1 = 2 combinations with 3 lanes you could get 1,2,3 or 1,3,2 or 2,1,3 or 2,3,1 or 3,1,2 or 3,2,1 = 6 combinations. this looks like a factorial expression to me, so the number of combinations gets big very quickly. 6, 8 and 10 lane swimming pools are common... Lanes Combinations 1 1 2 2 3 6 4 24 5 120 6 720 7 5040 8 40320 9 362880 10 3628800 So even if GT had unlimited 'pages' it rapidly becomes unpractical to enter all the combinations ;-) So, until the Vmix/GT API allows us to trigger particular events I have had a look at another possible solution which is looking quite promising. I have constructed a html web page with css animations. I have added javascript and websockets to this to trigger the animations. The html page is then added to Vmix as a browser source and shown as an overlay. I am currently using a python websockets server which has the benefit that I can also decode the serial data from the electronic timekeeping system in python and update the time and trigger the animations to occur at the correct moment. So far this working well, I don't have the serial data stream decoded in python yet (but I have written the same code in C before for an LED score board I built) so I am using buttons on another webpage to trigger the events. Importantly the animation is looking smooth and responsive. I will try post a video later. Regards, Mark Leman
|