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


            • #7
              Thanks Lars,

              I will go through and add each component to each container and test.

              Comment


              • #8
                Hi Lars,

                Still having issues with this one. It works great in Artist but when i go to play out the template in Trio the wall template does not update at all. I play the scene in engine one, then play the wall scene in engine 2, but nothing happens to the wall scene it just stays blank and does not receive any updates from the data pool. Is there something in the engine that need to be changed for it to get the information?

                Everything populates when i put the scenes in trio and put the wall scene in the back layer but on play out to an engine it does not work.

                Thoughts? Thanks
                Shotski

                Comment


                • #9
                  Make sure this is installed and running on both machines.
                  SHM_in_Config.PNG
                  I dont know if you went for the DataPool or the SHM sollution but on the DP side make sure this is ticked too.
                  CopyAutomatically.PNG

                  Comment


                  • #10
                    Hi Lars,

                    How do i know if i installed it correctly? When i hit install i don't see any change. Does the webservice need a number? it was 0 when i first entered the config. when i reset it the number changed to 61000. Is this correct?

                    Comment


                    • #11
                      You dont see a change as it just starts a service. 61000 is correct
                      SHMsettings.PNG

                      Comment

                      Working...
                      X