SPOUT only working in MemorySharedMode

Home Forums Spout Developer SPOUT only working in MemorySharedMode

This topic contains 1 reply, has 2 voices, and was last updated by  leadedge 8 months, 1 week ago.

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #4265

    d3ron
    Participant

    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.
    #4270

    leadedge
    Keymaster

    I assume this is not a laptop, otherwise there is probably Optimus to deal with.

    I also assume that the demo sender and receiver work OK in texture share mode. Post the basic diagnostics here. Help > Diagnostics > Click Copy. It might not reveal anything but its a first check.

    Is this Openframeworks or something else? Can you open a console window? Are there any errors shown? Do you get any messagebox errors?

    Your post was flagged as spam for some reason so if your reply does not show up I will look for it.

Viewing 2 posts - 1 through 2 (of 2 total)

You must be logged in to reply to this topic.