Original Post
Hey all, I have a wire frame mesh and I'm trying to have each element of my mesh highlighted when the mouse hovers over a single triangle/element of the mesh. I've learned that making each individual triangle in my mesh (10,000 - 100,000 vertex arrays easily) an object, this can be quite slow by using selection and picking. I've heard of color coded picking but can't find any examples on how to do this. I think somehow each edge of each triangle should be the same color, yet every triangle a different color, but not show the colors to the user since the sections of my mesh have color, have meaning. Any other ideas, or help, advice, examples much appreciated. I'm not very experienced with opengl. I'm using JOGL, but know how to do the opengl translations if they're in C or whatever.