Working with the examples, I can see how to use a mesh of points to create line strips via a geometry shader. I’m trying to do something similar with the points from a sphere, but render the faces and lines via a geometry shader. All of my experiments and forum searching have come up with nothing. Does anyone have some sample code that can do this?
Have you checked following limitation of input and output GL primitive?
// these are essential to call before linking the program with geometry shaders
void setGeometryInputType(GLenum type); // type: GL_POINTS, GL_LINES, GL_LINES_ADJACENCY_EXT, GL_TRIANGLES, GL_TRIANGLES_ADJACENCY_EXT
void setGeometryOutputType(GLenum type); // type: GL_POINTS, GL_LINE_STRIP or GL_TRIANGLE_STRIP
And also check your GPU limitation.
void setGeometryOutputCount(int count); // set number of output vertices
int getGeometryMaxOutputCount() const; // returns maximum number of supported vertices