Home › Forums › Syphon › Syphon Implementations – User › Canon2Syphon tester – canon dslr ->syphon › Reply To: Canon2Syphon tester – canon dslr ->syphon
Strange..I’m actually getting halfspeed framerate when I try and send stuff as a textureRef and don’t draw to screen…but i think it’s because the ofxEDSDK doesn’t have a method to getTextureRef() like ofImage does so I have to copy the EDSDK pixels into an ofImage and get that texture…I’ll have to talk to Kyle about how to properly add in something like that so I don’t have to copy…but it might be just a way of swapping around my pointers the right way or using another texture call.
Currently doing it like this:
else{ //or publish as a texture and don’t draw to screen
if(camera.isLiveReady()){
ofImage img;
img.setFromPixels(camera.getLivePixels());
individualTextureSyphonServer.publishTexture(&img.getTextureReference());
}
}