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.
Page Index Toggle Pages: 1
Capture class problem (Read 291 times)
Capture class problem
Sep 27th, 2008, 10:00pm
 
Hi all

I'm planning on doing an artwork using a webcam and the Capture class. As a starting point I'm using code obtained from:

http://heylookmumnohands.wordpress.com/2007/11/25/webcam-application-processing/

My problem is that the project only runs once in a blue moon. Sometimes if I restart processing it runs first time without a problem and then might run once or twice after that, and then nothing.

Any ideas?

Processing = BETA 0135
Webcam = Logitech Quickcam 4000
OS = Windows Vista
QT version = 7.5

UPDATE: There's a way around this but it's not perfect - Including P3D as the mode in the size function e.g. size(640, 480, P3D); seems to work. Unfortunately this means that the smooth() function (and possibly more) can't be used. I tried using JAVA2D and P2D but they didn't work.

Does anyone know a different approach?
Page Index Toggle Pages: 1