Quantcast
Channel: openFrameworks - Latest posts
Viewing all articles
Browse latest Browse all 40524

How to enable point smoothing

$
0
0

I cannot seem to make smoothing for points activate. In the documentation it says that ofEnableSmoothing only works for lines, so I thought I'd just insert the openGL by hand:

glEnable(GL_POINT_SMOOTH);
glPointSize(5.0);
ofEnableBlendingMode(OF_BLENDMODE_ALPHA);
mesh.setMode(OF_PRIMITIVE_POINTS);
//add vertices...
mesh.draw();

None of this works. Why isn't smoothing for points implemented in some openFrameworks method? Shouldn't be too difficult to implement, no?


Viewing all articles
Browse latest Browse all 40524

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>