I am working on an application that has to render a graph 3-dimensionally. Nodes are represented by spheres and in my first draft I just draw glLines as edges.
Now the lines need to be
a) thick lines and
b) as it is a 3d application, they basically must have an cylindrical shape (It would look very weird otherwise).
After reading up on thick lines in OpenGL, I figured that this is relatively complicated, especially given my additional cylindrical shape in 3d requirement.
So I thought "Why not just take a cylinder model, and translate/rotate/scale it in place to represent the edge".
It works fine for me, and also achieves the look I am going for.
As I never saw anything similar online when researching "thick lines in OpenGL" I was wondering if there are any major drawback with my approach?