Graphics

 View Only
  • 1.  Visual Logic issue

    Posted 03-17-2015 19:29
    I'm following the XPression U Video Tutorial "“ Basics 202 on visual logic (starting at the 5:00 mark) where he is modifying the Y position of Text2 with the bounding box height using the math multiplier.

    Following the tutorial, I opened the Visual Logic Editor and imported the 'BoundingBox.Height' for Text1.

    Next I imported the 'Position.Y' of Text2.

    Then I imported a 'Multiplier' Function Block.

    I then dragged the output arrow from the Text1 'BoundingBox.Height' and sent it to the input for the 'Multiplier'.

    Then I then dragged the output arrow from the 'Multiplier' to the input for the 'Position.Y' of Text2.

    Lastly I changed the 'Multipler' to a negative in its Properties.

    My Visual Logic Editor looks identical to the example shown in the tutorial, however, nothing happens to the Y position of Text2 when I add another line of text to Text1. I followed along closely three times and I'm doing exactly what the presenter is doing, but still mine doesn't work. Additionally, I tried other options to change on Text2 [I](Scale.Y, Rotation.Y, Rotation.Y)[/I] and still nothing.

    Ideas, suggestions, thoughts?

    Nu


  • 2.  RE: Visual Logic issue

    Posted 03-17-2015 19:31
    If you want to see changes applied to the viewport, make sure you make the viewport Active by clicking the blue diamond in the Viewport window.

    #XPression


  • 3.  RE: Visual Logic issue

    Posted 03-17-2015 19:55
    Follow up, I asked my XPressions co-worker to look at my work and went tried dragging the output of Text1 to the 'Position.Y' of Text3 and still nothing. Then we tried several other changes like the 'Position.X' of Text3 and the value of the multiplier to name a few.

    Then in the midst of doing that, I noticed the Virtual Output looked different than our Main Viewport. After that, the changes being made in the Main Viewport reflected what we were seeing in the Virtual Output.

    Weird.

    I should also mention something, that might help explain this a little, I'm using TeamViewer to work on XPressions in the Control Room from my office computer. There might have been some kind of delay or interference that caused the hiccup. So we're good now, but thanks anyway.

    Nu

    #XPression


  • 4.  RE: Visual Logic issue

    Posted 03-17-2015 19:57
    Thank you Brian, I believe I did click that button just before we saw it working. Now I feel better.

    Nu

    #XPression


  • 5.  RE: Visual Logic issue

    Posted 03-17-2015 20:01
    To explain the reason for that "blue diamond" button.. It disables all Continuous Animations and Visual Logic from being updated in the viewport. The reason, imagine you have continuous animations that are moving objects quickly around the screen...it would be very hard to click on them and manipulate them if they are constantly moving around. By turning off the "active viewport / blue diamond" the objects will stop their continuous animations / visual logic; and it is much easier to select them. Taking the scene to air will always run the animations however, this button only affects the viewport.

    #XPression


  • 6.  RE: Visual Logic issue

    Posted 03-18-2015 13:16
    Thank you again Brian, that make perfect sense. Additionally, I feel foolish because it one of the things that was addressed in an earlier tutorial and I simply didn't retain it. No worries about me remembering now though! Thanks once more.

    Nu

    #XPression