Announcement

Collapse
No announcement yet.

Share values across 2 scenes

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • Share values across 2 scenes

    Hello All,

    I know that you can share values through across scenes but i have not set up anything like that before. Does anyone have scenes that do this, maybe i can reverse engineer. I am trying to have a data feed one full screen but also share that data with another full screen on another engine. Is this possible?

    Thanks,
    Shotski

  • #2
    You can do it with Shared Memory. Place your data in an array or as a string and use the VizCommunication.Map to share the data on the army of engines sharing GraphicHub.
    You can do it with DataPool plugins too, some of them has a button to share the data to SHM too.

    Here is a scene that sends a trigger SHM_communication, and here is a scene that listenes for that trigger SHM_communication_client. Load the client scene on your other engines and trigger the other one on an artist. push the button in the script and it will trigger the animation on the client scenes.
    https://www.dropbox.com/sh/zqvkpytjb...ooBwgHrya?dl=0
    Hope this helps, otherwise just ask.

    Comment


    • #3
      Hi Lars,

      I tried doing it through data pool but i could only get the data to update when i imported the scene. So if i had scene 1 play to engine 1 with the data, the same template in engine 3 would not update. I was not sure which options in data pool to have checked so i checked all of them and still it did not update when scene 1 updated. I am attaching the scenes i need to talk to each other.

      Please let me know what i am doing wrong.

      Thanks,
      Shotski
      Attached Files

      Comment


      • #4
        I made a DataPool to SHM functionality on the Headline of the 2 scenes. Set the content in the scene NotWall and it will update the content on the Wall scene via SHM. Try it out and let me know if this is what you wanted.
        You can check the SHM values in http://localhost:8081/#/sharedmemory
        Remember this will distribute data to all Engines sharing GraphicHub via SHM.
        Attached Files

        Comment


        • #5
          I dug out this old sollution too.
          http://forum.vizrt.com/forum/viz-tri...via-vtw?t=8613

          Comment


          • #6
            Thanks Lars,

            I will report back once i have a chance to test. Thanks again.

            Comment

            Working...
            X