i'd like to output what is on the stage (or even better on some sprite subhierarchy) of my app to spout (
http://spout.zeal.co/ - a windows application) so other apps can use this as input (to put on it live effects and send it to a projector etc).
is this possible to write such a plugin e.g.?
Comments
see section 2.4 of:
https://github.com/leadedge/Spout2/blob/master/SpoutSDK/Documentation/SpoutSDK.pdf
is this theoretically possible with a gideros plugin?
Fragmenter - animated loop machine and IKONOMIKON - the memory game
thanks in advance
Fragmenter - animated loop machine and IKONOMIKON - the memory game
but it would be great if you could explain, what exactly you want to achieve.
-create a spout sender (sec2.3)
-send the gideros stage as texture (sec2.4) on each enterframe of the gideros app
Fragmenter - animated loop machine and IKONOMIKON - the memory game
if you can tell me this, then perhaps i can start to work on it by reading how in general a win desktop plugin is made. of course it would still take 10x time as for you or anybody more capable than me, but of course i need this plugin and most other people do not, so that's understandable.
btw for me a windows desktop export is quite enough, so it does not need to work on dx11.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
for windows desktop export there is no such intermediate step when i have a windows project that i can directly edit/hack. for universal apps there is but that's dx11 as you said so there might be additional problems.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
perhaps the simplest would be to add this as a core feature, as the sdk of spout is pretty simple in itself. the most complicated part is only to make it a plugin i guess.
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Somebody has any project which would demonstrate most of the plugin, setup and functions?
Please, please, please
Thank you
Likes: MoKaLux
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Can we use Spout inside one Gideros app only (passing textures from maybe render target to render target, ...) or Spout main (and only?) goal is to allow applications to share video and still images with one another?
In the latter case, that would mean building 2 Gideros apps that would send videos to one another (I am thinking a camera surveillance network)?
I am a little bit confused here but that could be fun
EDIT: regarding your code one app would send the video (the sender) then the other app would be the receiver?
I will see if I can make something out of it or not
yes, i think spout plugin can be used to receive too, although i've never used that feature, but should be similarly simple to do (SpoutReceiver.new?). in which case indeed you can make two gideros apps where one can send the video to the other. also, with SpoutCam for example you can feed a virtual camera with live video. or using in addition "Spout To NDI" you can send this data over a local network to another computer, and then indeed it could be used as a camera surveillance network. (that's why i asked @hgy29 to support NDI directly in Gideros, to make this more effective, but that is still just a feature request).
one major limitation of the gideros spout plugin that there are two ways how spout can receive the data (CPU and GPU i think) and gideros only supports CPU version while many apps support only the GPU way, and therefore my gideros app cannot send them the data even though that would be the point of this plugin.
Likes: MoKaLux
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Likes: keszegh
Likes: MoKaLux
Fragmenter - animated loop machine and IKONOMIKON - the memory game
first gideros app is called spout_emitter code:
To be continued, God's willing...
Likes: pie
the point of it is to stream video data realtime, so your example would be better if it would keep changing the sent image (like rendering a particle on the rendertarget etc).
Likes: MoKaLux
Fragmenter - animated loop machine and IKONOMIKON - the memory game
Likes: MoKaLux
Fragmenter - animated loop machine and IKONOMIKON - the memory game
This is the c++ side:
but probably the simplest is if @hgy29 tells us the syntax.
i've found an old example in some folder, there i see something like this:
Likes: MoKaLux
Fragmenter - animated loop machine and IKONOMIKON - the memory game
I am trying to be a big boy and don't call on the captain
I am posting on this thread for future reference but you receive an email every time I post, so maybe I can create a new thread?
EDIT: some more finding
EDIT3: it seems receiveTexture doesn't return the texture itself?