Comments (7)
Before I used this solution, now it's broken, but maybe there is something to do around that
http://forum.processing.org/two/discussion/888/a-little-simplicity-with-syphon
class Syphon {
SyphonServer server;
PApplet p;
Syphon(PApplet p, String name){
this.p = p;
server = new SyphonServer(p, name);
}
void send(){
send(p.g);
}
void send(PGraphics g){
server.sendImage(g);
}
}
from processing.
I also experience an issue with server.sendScreen(). I only receive a glitched image of the OS UI
I run Processing 3.0.1 on a Mac with syphon library 2.0-RC2. Any fixes or workarounds?
from processing.
are you certain you are running processing in legacy OpenGL 21 renderer, and not 3.x/4.x core profile?
from processing.
I'm not shure about that. Those terms don't mean much to me... :/ sorry. Do you mean like this?
void setup() { size(600, 600, OPENGL); }
Or what else do I have to do to get this fixed?
I also get this error message:
2016-02-04 00:29:11.571 java[17964:2031432] SYPHON DEBUG: SyphonServerConnectionManager: Start Connection
2016-02-04 00:29:11.572 java[17964:2031432] SYPHON DEBUG: SyphonServerConnectionManager: Created connection with UUID: info.v002.Syphon.8944EA6E-9AC2-47F2-BC24-7A69C91A8636
OpenGL error 1282 at top endDraw(): invalid operation
from processing.
I'm not sure for your problem, but if you use Processing 3.0.1 you must use the last Syphon librarie and check the example. Now you must implement syphon in void settings to change the renderings JOGL or something like that :)
import codeanticode.syphon.*;
SyphonServer server;
void settings() {
size(400,400, P3D);
PJOGL.profile=1;
}
void setup() {
// Create syhpon server to send frames out.
server = new SyphonServer(this, "Processing Syphon");
}
void draw() {
background(127);
lights();
translate(width/2, height/2);
rotateX(frameCount * 0.01);
rotateY(frameCount * 0.01);
box(150);
server.sendScreen();
}
from processing.
Thanks so much, @StanLepunK ! I somehow didn't realize that the void settings() is something different from void setup(). Now I it sends the image correctly.
But anyway, what is this code line for?
PJOGL.profile=1;
from processing.
You're welcome.
This line I think is to change the profil of Processing rendering but not sure.
from processing.
Related Issues (20)
- Exported application with Syphon server doesn't work in Processing 3.0b3 on Mac OS X 10.10.5? HOT 25
- Programmable pipeline incompatible with Syphon HOT 13
- Unable to Install Via Processing 3.0 HOT 4
- Invalid call of undeclared identifier 'texture2DRect' HOT 6
- endDraw() crashes server HOT 5
- Custom fragment shader flips image and stops syphon. HOT 2
- [Syphon]: Class JavaLaunchHelper is implemented in both HOT 1
- Multiple clients example hangs and crashes HOT 1
- Mask does not appear in syphon feed. HOT 4
- JSyphon server lazy initialised leads to unexpected behaviour HOT 2
- slitscan, screen share and syphon HOT 1
- Syphon on Calalina HOT 3
- getImage() to support pixelDensity(2) HOT 6
- OSX Big Sur wont allow usage of libJSyphon.jnilib HOT 3
- Possible issue using filter() inside of PGraphics for Syphon in Processing? HOT 2
- Create new notarized release
- Use statig tag URL for releases to show up in CM
- Issues Compiling Example Sketches on M1 Mac in Processing 4 HOT 8
- Apple silicone compatibility HOT 3
- A fatal error has been detected by the Java Runtime Environment: HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from processing.