Running triangles through loop
I know this is kind of opengl question, but It also has to do with c++.
Hope you guys understand this.
Okay I need to be able to make every triangle running through this loop selectable by the mouse. How would I do this??
I know how to use glLoadName and the selection and feedback system.
Please some hints or pointers
for (int i= 0; i<tris.size();i++)