Hi!
I am using SPOUT to stream data from a Intel RealSense to another program (here: Notch).
However, I can only receive data when I am using the MemoryShare mode which Notch does not support.
My graphics card is a GTX 1080 Ti. So NV_DX_interop is definitely supported.
I am using Visual Studio 2017 and the Spout SDK 2.006.
For debugging I have this piece of code:
d = (unsigned char*)malloc(640 * 480 * 4);
for (size_t i = 0; i < 640 * 480 * 4; i = i + 4)
{
d[i] = 255;
d[i + 1] = 130;
d[i + 2] = 120;
d[i + 3] = 255;
}
mySender.SendImage((unsigned char*)d, 640, 480, GL_RGBA, false, false);
It works fine in MemoryShare mode but I only receive a black texture without.
Why is that? How can I fix it to receive my texture ultimately in Notch?
-
This topic was modified 8 months, 1 week ago by
d3ron.
-
This topic was modified 8 months, 1 week ago by
d3ron.
-
This topic was modified 8 months, 1 week ago by
d3ron.