I use Spout in order to send video from Max/Msp/Jitter to Unity
and
from Unity to Madmapper.
Madmapper makes confusion between Spout Max and Spout Unity
If Max is not working, no problem, Madmapper receive the Unity video signal.
When I start Max, Madmapper replace Unity video by Max video.
Senders have different names, I don’t understand.
May be Spout component can’t be used in multiple software at the same time ?
I tried to start Max before Unity, same result, Madmapper takes the Max signal instead of the Unity signal.
I use Klakspout:
It’s written that, in a Unity HDRP project, we can use camera view instead of game view to send Unity video signal via Spout.
That’s what I have done, and as I have succession of differents scenes, In Unity I named each Spout sender with a different name for each scene.
It looks like it works properly.
Start Max and a Spout sender.
Start Unity and a sender with a different name, but don’t receive from Max.
Start the Spout demo receiver and RH click to get a sender selection dialog (but don’t select one).
What is the order of the senders. Is Max first or last?
Thanks, I am not sure yet what is going on but have some ideas.
Repeat this and after RH click on the Spout demo receiver, look at the sender selection dialog. One of the senders will be highlighted blue. Which is it, Max or Unity?
The highlighted in blue is the spout of Unity, but it’s spout of Max who appears reversed (Up and down are switched).
In tried with Unity URP project and Camera view spout sender and the behavior is normal, Unity sender is displayed in spout demo receiver.
If I choose RH and select Max, Max sender appears on Spout demo receiver.
In a 3D unity project with gameview as the spout sender there is a problem.
With Klakspout of Keijiro, Camera view sender works on URP and HDRP.
From this I understand that your application is OK as long as you don’t use gameview in Unity.
The invert problem is a different issue. I tested Max with the latest Spout plugin 2.0.72 and the Spout sender help patch and it’s not inverted in the Spout demo receiver. To isolate this, check that your Max output is OK in the Spout demo receiver.
I run my Max spout sender (FHD), and Max spout sender demo (640x340) (with differents names)
without Unity. The demo receiver in Max is ok, I can change the source, the demo receiver display the correct signal
in Unity If I take the input from the spout sender demo or from my Max spout sender,
the texture in Unity display only my Max Spout sender.
In Madmapper, in the preview window, the video from Max Spout demo sender display Max Spout demo sender.
The video from Unity display Max demo sender but zoomed.
If I launch Signal from OBS, Unity have no problem to display each differents source.
But Madmapper don’t arrive to display the correct Unity sender.
After repairing my brain, I understand that Unity have a problem to distinguish signal from Max.
Madmapper have problem to distinguish signal from Max and Unity
So, I try in a URP Unity Project because Klakspout allows changing the game view output spout sender for camera sender.
Now the game view in Unity is a black screen, but it send the correct signal to Madmapper.
The spout demo receiver displays black screen when I choose my Max Spout sender.
For a new project, I have tried to create the workflow again with 3d Unity project
It didn’t work…
BUT
I have installed the new version of Spout.
In the options of the spout receiver demo, I have choosen to re-send the video, changing the name.
Nothing change, but when I have stopped the re-send.
It works !
I can by-pass the video signal from Max to Unity to Madmapper properly with a 3d project in Unity 2022.3.10f1