@abocanegra wrote:
So I am hoping there is a way to check to see if a set of pixels have changed. I am sending 910 pixels over TCP. I would like to only send if the pixels have changed. I am getting the pixels from an ofFBO object. I was hoping something like:
this->sendPx is the newest set, px is the last frames set.if(strcmp (this->sendPx.getData(),this->px.getData()) != 0){ this->px = this->sendPx; this->formatData(); }
This fails though. Are there any quick ways to check if one set of ofPixels is not equal to the last set of ofPixels?
Posts: 3
Participants: 3