You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
if(_zj_smoothing==Qtrue&&_zj_fill==Qtrue) {
/* smoothing is on and the rectangle was filled. draw a smooth outline. */ofNoFill();
ofRect(NUM2DBL(x1), NUM2DBL(y1), NUM2DBL(w), NUM2DBL(h));
ofFill();
}
and use FBO multisampling to implement smoothing. render everything to an FBO and then draw that to the window. the smoothing method will control the number of samples in the FBO.
The text was updated successfully, but these errors were encountered:
smoothingfalse# sets FBO's samples to 0smoothingtrue# sets FBO's samples to maximum i.e. ofFbo::maxSamples()smoothing4# sets FBO's samples to 4smoothing5# sets FBO's samples to 5smoothing6# sets FBO's samples to 6
Get rid of code like this
and use FBO multisampling to implement smoothing. render everything to an FBO and then draw that to the window. the
smoothing
method will control the number of samples in the FBO.The text was updated successfully, but these errors were encountered: