I’m trying to implement picking with glSelect, is is working but if I have picked one object like in the point that it intersect with another, I have problems, I think it will generate more than one hit, right ? Ok this is working :
if(hits == 1) Perform_Selection();
if(hits > 1) // Show a special message
The message is being displayed, but now, how to control the ID of the next hit (next object) ??
Hope I’m clear enough.
Thank you for the moment.