We’re occasionally having a weird problem when picking on Mac OSX. As we traverse our scene tree, we push names onto the picking stack. There should be at least two names on the stack for anything drawn. But occasionally the selection buffer reports one hit with no names in the hit record.
This doesn’t seem to have a problem using JOGL on Linux or Windows. By far, most of the code is the same as what is run by many people on Windows with our old Java OpenGL binding. (We’re adding JOGL support, not writing a new system using JOGL.) I’m fairly confident in our selection code, and I’m pretty sure only one thread is doing any of the rendering stuff.
Is anyone aware of picking issues on a Mac, either in JOGL or underlying code?
For now, I can treat it as if nothing was picked, but it will appear as a bug in that the user will click and nothing will be selected.
Sorry I can’t make a test case for this the way I did for the applet problem and the Swing problem. Maybe I could, but I don’t know what it would take. Ours is a very complex system, and there is a lot going on in the case where we see this problem.
thanks
andy