Port of the Processing library of Spout for OPENRNDR
-
install Spout and get the Spout SDK. (https://spout.zeal.co/)
-
Add the files from this repository to your project or take this as starting point
-
In IntelliJ set run vm options: -Djava.library.path=[PATH_TO_SPOUT_SDK_DLL_LIB_FOLDER]
-
If you have created your own project make sure you change in your build.gradle.kts:
runtimeOnly(openrndr("gl3"))
runtimeOnly(openrndrNatives("gl3"))
to
implementation(openrndr("gl3"))
implementation(openrndrNatives("gl3"))
- You can now create your Spout sender or receiver with the corresponding classes SpoutSender and SpoutReceiver. A small example is prepared in the Main.kt
I used the code from: https://github.com/leadedge/SpoutProcessing
License: GNU GENERAL PUBLIC LICENSE