Re : P2D and set() behave strange
I can reproduce your problem with 2.0b7 so it seems there is indeed something buggy with P2D/P3D and the set() method. However using the pixel array directly is better anyway when setting large amounts...
View ArticleRe : P2D and set() behave strange
Hi, You are right, I have no special reason to use P2D in this case, and I can also use pixels[].I just wanted to report bug (maybe I'm in wrong category, but I din't found any bug-report category)I...
View ArticleRe : P2D and set() behave strange
Bugs can be reported in the Code section, ie. now the GitHub account.Now, part of the problem might come from the fact that P2D uses smooth() by default (I think), so set() might do anti-aliasing,...
View ArticleRe : I need Help
Thx for the explanation, PhiLho!So, Java has a secret way to pick 1 item from a returned array,rather than getting it full as most programming languages would expect!Although I fail to see why your 2nd...
View Articleadapt temporal slide shader into processing; ouch !!
hello all, I try to adapt a temporal slide shader into processing. I'm pretty newbie to processing, and to the shader world.The shader should do really cool effects of fading frames from camera for...
View ArticleRe : adapt temporal slide shader into processing; ouch !!
I suggest to first read andres' blog posts about shaders in Processing. And then check out the examples that come with Processing. One problem is that you have 4 uniforms in the shader but you're not...
View ArticleCan't loop video backwards
If I set the loop speed for a video to zero or a negative number, I get Ā this error:Ā Ā Ā Ā Ā Ā GStreamer-CRITICAL **: gst_segment_set_seek: assertion `start <= stop' failedSometimes, when looping a video...
View ArticleRe : I need Help
I might have not been clear. it = getItems()[2] does exactly the same thing than lst = getItems(); it = lst[2];It is not a way to return a single element by a special magic! It is only a syntactical...
View ArticleRe : I need Help
It is not a way to return a single element by a special magic! I guess there's some sorta miscommunication! The way I understood is that this exotic syntax filters out a specific element from a...
View ArticleRe : Creating a "choose and zoom image" program
like this with arrays(tested)//int indexBigImage = -1; //PImage big [] = new PImage [7];//PImage small [] = new PImage [7];//void setup(){Ā size(800, 600);Ā //Ā big[1] = loadImage("0big.jpg");Ā big[2]...
View ArticleRe : Wait for Arduino Before Sending Data Over Serial
While not needing to do exactly what you are doing I am using the Arduino-SerialCommand library that was originally devised by Steven Cogswell and modified by Stefan Rado to send commands with...
View ArticleRe : Creating a "choose and zoom image" program
Thanks again. This procedure is interesting, but I think perhaps is a bit more complicated than the other, although it's quicker..However, now it's time to relax.I'm undecided about opening a new...
View ArticleRe : Processing 2.0b7 Serial.bufferUntil() not working?
I am having no problems with 2.0b7 usingĀ .bufferUntil('\n') and I am developing back and forth between OS X and Windows 7 machines. The problem could be that the until signal ("\n" for my case) is not...
View ArticleDifferent shaders for geometry, lines and text?
Hi! I'm trying to add some basic fog effect through the new PShader object. Found this fairly simple glsl shader and adapted to my purposes. I would like to replace only the fragment shader and keep...
View ArticleRe : Initializing PApplet with arguments
I don't quite understand what you meant. But thanks for your answer. Can you, please, be more specific? thanks.Thsi is my problem:I have a GUI interface with jFrame and two different processing...
View ArticleRe : Wait for Arduino Before Sending Data Over Serial
I ended up solving it with the following:In my Processing program, I added a section that paused in a while loop every 32 iterations until it receives feedback from the arduino (and also sends a 'Y'...
View ArticleRe : Wait for Arduino Before Sending Data Over Serial
OK. Are these motor control commands executed in realtime or are they first stored and then executed? I am wondering if the pauses cause any issues. By the way, does your Processing application ride...
View Article