ofMesh change vertex size

Hi,

I create a script for generate a point cloud with .txt file. But now i want to change vertex size (maybe with a slider). It’s possible?

edit: i talk about the scale of the vertex. I use Blender and i know it’s possible with the preference system. maybe with OF, no?

thanks.

void ofApp::setup() {

	mesh.setMode(OF_PRIMITIVE_POINTS);
	
	vector<string> lines = ofSplitString(ofBufferFromFile("cloud.txt"), "\n");
	string line;

	double x, y, z;
	int r, g, b;
	double fac = 1. / 255.;
	int size = lines.size();



	for (int i = 0; i < size; i += 1000)
	{
		line = lines[i];
		sscanf(line.c_str(), "%lf\t%lf\t%lf\t%i\t%i\t%i", &x, &y, &z, &r, &g, &b);
		ofVec3f point(x, y, z);
		mesh.addVertex(point);
		mesh.addColor(ofFloatColor(r*fac, g*fac, b*fac));
		
	}

Try

glPointSize(size)

You might also find it useful to make the points circular:

glEnable(GL_POINT_SMOOTH);