Graphics

 View Only
  • 1.  Any video tutorials covering Visual Logic basics?

    Posted 04-17-2024 14:41

    Hello! I'm looking for a tutorial covering the absolute basics of Visual Logic for a complete newbie who's never used it before. There was a link posted in a previous post but it seems to be dead now. Thanks in advance.



    ------------------------------
    Tim
    ------------------------------


  • 2.  RE: Any video tutorials covering Visual Logic basics?

    Posted 04-18-2024 02:52

    Hello. 

    https://www.rossvideo.com/live-production/graphics/xpression/xpression-u/ here you find out all off you need



    ------------------------------
    Roman Yaroshenko
    chief specialist
    RBC-TV
    Moscow Russian Federation
    ------------------------------



  • 3.  RE: Any video tutorials covering Visual Logic basics?

    Posted 04-18-2024 09:07

    This one has the basics https://www.rossvideo.com/resources/ross-university/how-to-do-logic-without-scripting/



    ------------------------------
    Jeff Mayer
    Ross Video
    ------------------------------



  • 4.  RE: Any video tutorials covering Visual Logic basics?

    Posted 04-18-2024 09:49

    Yeah, the video tutorials for visual logic are very limited, which is unfortunate, bc I feel like it is a very powerful tool and selling point for XPression. The help documentation is useful, but it is sadly limited as well. I just wish they would make a tutorial/help page briefly explaining all the function blocks in visual logic. Anyway, I'm going to suggest that this forum is the best place to figure out what you want to accomplish in visual logic. 

    having said that, the function block that has helped me more than anything else in visual logic is the Input Selector. To my knowledge, it is NOT covered in the Xpression U video tutorials. A link that hopefully helps you see how it works can be found here . I studied software engineering and preferred using scripts in XPression, but I was persuaded by my peers to use Visual Logic, bc they did not understand code. Well, for me the most essential component in coding is an If Then Else statement. This can be accomplished in Visual Logic via the Input Selector, but is more like If 0 then, else if 1 then, else if 2 then, else if 3 then, etc. Therefore, it is quite often I have to use math operators like Greater Than, Less Than, Equal To, etc. or String Compare to convert my conditions to Boolean values, where a false condition returns a 0 and a true condition returns a 1. Next, plug that into the Input Selector "Index" node. (Now, if you have a condition that can have multiple results such as "if the text is DOG then...else if the text is CAT then...else if the text is SNAKE then..." you need to multiply the result of these comparison operators by values, such as 1, 2, 3, 4, etc. and add them up before plugging that into the Input Selector "Index.") Then you plug in what you want to happen into the Input Selector nodes [0], [1], [2], [3]...etc respectively for each of your results. The output of the Input Selector will feed the value of whatever you want to change. In the link I referenced Simon attached an example that is basically asking If Text1 is "BOB" make the color of Material3 #FFFFFFFF, else if Text1 is "BILL" make the color of Material3 #FFE71C1C, else if Text1 is "BARRY" make Material3 #FF5600FF. Text1 is BARRY, so the final condition executes. In this example he uses Max Value instead of Add before plugging that into the Input Selector Index. I always use Add, as I make sure each condition can only return a true or false result and there would never be 2 conditions that could be true at the same time. I hope this helps. good luck.



    ------------------------------
    Roger Heyward
    ------------------------------



  • 5.  RE: Any video tutorials covering Visual Logic basics?

    Posted 04-18-2024 09:53

    Go to help,  contents, search, visual logic, visual logic editor, scroll down, each block is described. 



    ------------------------------
    Simon Redmile
    Senior Graphic Programmer & Designer
    Ross Video
    Bristol United Kingdom
    ------------------------------



  • 6.  RE: Any video tutorials covering Visual Logic basics?

    Posted 04-18-2024 09:56

    Wow! I never noticed that before. Thanks, Simon. I'm glad I took the time to help someone because this will help me a ton in the future.



    ------------------------------
    Roger Heyward
    ------------------------------



  • 7.  RE: Any video tutorials covering Visual Logic basics?

    Posted 04-18-2024 10:13

    You're welcome, most people don't know its there so you're not alone :)



    ------------------------------
    Simon Redmile
    Senior Graphic Programmer & Designer
    Ross Video
    Bristol United Kingdom
    ------------------------------



  • 8.  RE: Any video tutorials covering Visual Logic basics?

    Posted 04-18-2024 10:27

    We've added two new Visual Logic blocks in Version 11.5 to make the example you describe above much easier to accomplish. String Match will now allow you to assign all your possible Text choices (Bob, Bill, Barry, etc.) to specific Index values, which can then be fed to an Input Selector, or the new String Selector function block to make your logic even more efficient. There's an XPression U video describing these two new functions here:

    https://www.rossvideo.com/resources/ross-university/visual-logic-blocks-string-match-and-string-selector/



    ------------------------------
    Jeff Mayer
    Ross Video
    ------------------------------