I’m using opengl picking (select mode and pushname) for select object on a mouse click. No problem with my 7600GT and VBO enable. But if I try on an X300 or X700, or a 7300 with VBO enabled, there is a lag of 1/2sec when the picking is computed!!
If I put all in Vertex Array no probleme with theses cards. That is very strange, why VBO works fine globaly, but not when picking is processed ?
probably is due to software processing of the picking, I think it was mentioned on these forums that picking might be done in software on some cards… guess you are safer rendering the objects without lighting and encoding pointers into RGBA colors yourself.
Usually it is done manually, by determining which object would intersect the ray you cast on pointer position. Actually there is no need to use OpenGL picking at all… (it is much slower anyway).
Yes, with octree It will be better. But bounding give an approximative picking. I will implemant this method with bounding, and I’ll try to with color picking.