Hi everyone,
I got a question:
How could it be possible to share a directx 11 texture, coming from unity, via a boygroup with 8 client pcs?
My Setup:
I got one master pc and 8 client/slaves pcs. Boygroups work fine. vvvv program files, packs, addons, plugins, modules and project files are “synchronized” (they exist on every of the pcs in the same directory). All PCs are connected via Gigabit Ethernet.
I’m able to get the render output of Unity into an DX11 renderer on my master. I just downloaded the Unity example project from here https://github.com/benkuper/Unity-Plugins/tree/master/SpoutPlugin/UnitySpoutDemo. I runned the “MultiSender” scene and a command prompt window came up (make sure the Debug Console bool in the Spout2Sender script component is true).The command line window popping up gave me the index/SendSharingHandle of Unity’s render output. I get the index e.g. “-2147477128” and use it with FromSharedTexture (DX11.Texture2d) by @vux. No big deal. Everything is working fine. I can see the Unity render output in vvvv, mirrored but anyways it works.
Now I’d like to share the texture with my clients/slaves in the boygroup.
I wonder how this could be possible.
I thought of converting the textures into Strings or RAW… but I didn’t found a solution to convert them from Strings or RAW to textures.
Could some work with me for a solution?
Best,
huppys