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.
IndexProgramming Questions & HelpVideo Capture,  Movie Playback,  Vision Libraries › Non-orthogonal Collision + blobDetection
Page Index Toggle Pages: 1
Non-orthogonal Collision + blobDetection (Read 241 times)
Non-orthogonal Collision + blobDetection
Jan 26th, 2009, 5:10pm
 
Hi!
I'm working in a project  with BlobDetection (http://v3ga.net/processing/BlobDetection/)  and collisions. The idea is load an image, and detect the blobs and use these blobs to detect a Non-orthogonal Collision with the Ira Greenberg method ( http://www.processing.org/learning/topics/reflection1.html ).
I use an object array to put all the  segments, and check the collision inside the shape.

But my orbs sometimes exit form my shape.

maybe this is not the correct way to solve this!
I need some help.

this is my sketch

http://www.albagcorral.com/projects/yuxtextpose/

to start an orb, you have to click with the mouse inside the shape

thanks!!!
alba.
Page Index Toggle Pages: 1