@tactif wrote:
Hi, on raspberry PI2 this function reduce the framerate from 60fps to 10fps...
ofColor(255, 255, 255, 255); int col_step = width / 10; int row_step = height / 10; ofDisableSmoothing(); ofDisableAntiAliasing(); for (int i = 0; i < width; i += col_step) { ofLine(i, 0, i, height); } for (int i = 0; i < height; i += row_step) { ofLine(0, i, width, i); } ofEnableAntiAliasing(); ofEnableSmoothing();
Is there anything else I need to disable before using ofLine ? Without the ofDisableXX / ofEnable : same result
Posts: 4
Participants: 2