Quantcast
Channel: beginners - openFrameworks
Viewing all articles
Browse latest Browse all 4929

How to enable point smoothing

$
0
0

@macusual wrote:

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?

Posts: 1

Participants: 1

Read full topic


Viewing all articles
Browse latest Browse all 4929

Trending Articles