We closed this forum 18 June 2010. It has served us well since 2005 as the ALPHA forum did before it from 2002 to 2005. New discussions are ongoing at the new URL http://forum.processing.org. You'll need to sign up and get a new user account. We're sorry about that inconvenience, but we think it's better in the long run. The content on this forum will remain online.
IndexProcessing DevelopmentLibraries,  Tool Development › New library : Picking
Page Index Toggle Pages: 1
New library : Picking (Read 2015 times)
New library : Picking
Mar 1st, 2010, 11:18am
 
A brand new Picking library is available here :
http://code.google.com/p/processing-picking-library/
http://n.clavaud.free.fr/processing/

It makes it easy to pick an object in a 2d or 3d scene : just add picker.start(id) before the object you want to draw. Then you can later pick it using picker.get(mouseX, mouseY).

See it in action :
http://www.openprocessing.org/visuals/?visualID=7744
http://www.openprocessing.org/visuals/?visualID=7953
http://www.openprocessing.org/visuals/?visualID=7881

More examples coming soon...

Any feedback is welcome!
Re: New library : Picking
Reply #1 - Mar 1st, 2010, 11:28am
 
thats pretty cool. thanks for making it a library!
Re: New library : Picking
Reply #2 - Mar 1st, 2010, 11:32am
 
Just recycled some old code and stole mixed it with TFGuy44's idea of having an easy-to-use picking lib.
Re: New library : Picking
Reply #3 - Mar 1st, 2010, 11:42am
 
yes, i knew that you guys worked on it, but i believe its a good idea to make it an easy to use library.
Page Index Toggle Pages: 1