i got help writing my picking function... but it still doesn't work im not sure if it is because the my function or because of my mesh it is one of them. someone suggest me to draw the ray, i drew my rays it basically followed my cursor(mouse).
here is my code
I am using python with Qt from past 1 year.. now i have to use pyqt with opengl.
i am tring to write a sample program which can able to draw object ( eg cube,dot) and user can able to select using mouse.
but now i have done all the possible way to use opengl functions but still not able to select :(