I have around 600 spheres in my PyOpenGL window. I am using PyQt to manage my window, so I use QGLWidget
for that. I would like to pick from these spheres, but the problem is they are all same color metallic gray. So I am not using any image textures.
At this point, I have made some research and I found this tutorial which uses the C routine, and since I am not familiar with that it is quite challenging for me.
https://www.lighthouse3d.com/tutorials/opengl-selection-tutorial/
I would like to also mention that I have been using the core-profile instead of immediate mode like in the below link.
Using glfw window inside Pyqt Window
Is that possible to do the picking still using the core-profile, since it is pretty basic? Or do I need to switch my PyOpenGL
code to immediate mode?