if you arent using OpenGL you might thing about using it. GL has something called "picking" where it gives you a list of objects that are "underneath" the mouse cursor. From there you can find which ones closest or do whatever you want. the best part is that its hardware based meaning its SUPER fast. good stuff, you should really check into it, look up GL picking at nehe or google or somewhere like that ----- Original Message ----- From: "jclark" <jclark@xxxxxxxx> To: <gameprogrammer@xxxxxxxxxxxxx> Sent: Tuesday, October 26, 2004 6:54 PM Subject: [gameprogrammer] Looking for a good storage method. > I have irregular shaped objects that I need to check for mouse clicks. I am storing an outer bounding box for a quick check to see if the mouse click occurred in a possible area of the object, but if that returns true, I need to see if the mouse click actually occurred in the object. Any ideas on ways to store a representation of the data without storing a huge array of pixels? > Thanks, > Jason. > --- > Outgoing mail is certified Virus Free. > Checked by AVG anti-virus system (http://www.grisoft.com). > Version: 6.0.775 / Virus Database: 522 - Release Date: 10/8/2004 > > > > > --------------------- > To unsubscribe go to http://gameprogrammer.com/mailinglist.html > > --------------------- To unsubscribe go to http://gameprogrammer.com/mailinglist.html