We are about to switch to a new forum software. Until then we have removed the registration on this forum.
So, I'm trying to get this Augmented Reality sketch working (the first example one). It was written for Procesing 1.5 but should work for the most part in 2.0. However, I can't figure why I'm getting some errors
Syntax error, maybe missing a right parenthesis
[in the console] expecting RPAREN, found ';'
at his line in the Setup:
colors[i] = color( random(255), random(255), random(255), 160); // random color, always at a transparency of 160
AFAIK color(x,y,z,a); is a valid construction for the three hues, and a transparency level.
Note: I was also getting an error on the line before this, but added the == (where originally, it's not there):
for (int i = 0; i == nya.addARMarker(patternPath + "/" + patterns[i],80);
Is this a problem with the general code, or is there just something I'm overlooking?