PDA

View Full Version : How many objects can I pick?



bulldog
10-08-2003, 05:46 PM
In my project I need to drag the mouse in the origin scene(drawn with points) to get a region and then display the subscene only. So I use picking to do this, but I then find that whatever big picking regin I define only a few points can be picked(say less than 20). Is there a picking limit? What shall I do now?

10-08-2003, 07:01 PM
I'm not sure if there is a limit or not. If there is, then you can probably do something like this:

- Click mouse on area
- Check to see if first 20 objects in area are selected
- If not, check next 20 objects in area
- If not, continue until all "selectable" objects are tested or you find an object that has been selected.

I'm not sure exactly how you would go about this, as it is application specific, but in theory it should work. Good luck.