Re : frameRate() can crash 2.0b7
Andres, I almost wonder if it's 30fps. It reports faster than 30fps, and I can get it to report faster than 60fps, but I can tell that it is not - it's not smooth at all. My primary sketch is jumpy,...
View ArticleRe : frameRate() can crash 2.0b7
Ok, thanks for the feedback. I don't know what could be the cause of the sluggish animation you are observing. I will take a look at this. Let me know of anything else you find out by profiling and...
View ArticleRe : [2.0xx] How to set P2D/P3D PGraphics pixels to transparent via the pixel...
andres, it seems a lot of the problems were fixed with your recent alterations to the source code. I just downloaded and compiled the latest svn-build 0216. And then I re-tested the three code examples...
View ArticleRe : Amplifying a certaing part of a visualization
without looking at your code: amplifying is done via *8.2 or so you also might want to look at map ; here you can map an incoming signal of a certain range to another (screen)...
View Articlehow to import megamu.mesh.*; in eclipse?
i had a processing program,in which i typed import megamu.mesh.*; now i'd like to edit it in eclipse, after i did follow what the guide said.. like.. import ' core.jar ' and add it to java program...
View ArticleRe : How to port old PGraphicsOpenGL code to Processing 2 alpha - Additive...
hey guys i'm porting over some code from processing 1 -> 2 and running into a funny additive blending issue...//in my main draw i'm calling PGraphicsOpenGL pgl = (PGraphicsOpenGL) g; GL2 gl =...
View ArticleProcessing 2.0b7 DirectoryList example not working on Windows Visa/7
When I try to run the DirectoryList example sketch in Processing 2.0b7, I get an error message: Cannot find a class or type named "File" at line 24 which contains the following code: File[] files =...
View ArticleRe : Processing 2.0b7 DirectoryList example not working on Windows Visa/7
Add the following statement to the beginning of the example.import java.io.File;
View ArticleRe : Processing 2.0b7 DirectoryList example not working on Windows Visa/7
Yes, perfect, thanks quarks. But now I get the error message: Cannot find a class or type named "Date" at line 30 which has the following code: String lastModified = new...
View ArticleRe : Processing 2.0b7 DirectoryList example not working on Windows Visa/7
For date, you have to add:import java.util.Date;Updated http://code.google.com/p/processing/issues/detail?id=1453 with your information, thanks.
View ArticleRe : Processing 2.0b7 DirectoryList example not working on Windows Visa/7
Also, take a look at this previous post -> which-java-class-should-i-import
View ArticleProcessing serial/Arduino libraries
Hello, I am having some issues that I cannot figure out. I tried posting on the Arduino forums, but they suggested posting here instead.I have an Arduino Uno (the basic one) and am running this...
View ArticleRe : save a single frame from Webcam
how about something like this function appended to the gettingStartedCapture from the 1.5.1 examples:void mouseReleased(){ save("/Users/yourhomedir/desktop/capture"+(capCount+1)+".jpg");...
View Article[2.0xx] How to set multiple render targets for a fragment shader?
I've been looking for a way to get the depth map of the scene. If there are alternatives to my current method let me know. For now I am now using shaders to get it. Once I get to the fragment shader I...
View ArticleRe : [2.0xx] How to set multiple render targets for a fragment shader?
From looking at the source I've learned how to connect a PImage or PGraphics to a uniform sampler2D:yourShader.set("textureNameInShader", yourTexture);Good to know. However it seems this only works as...
View ArticleJavaSound Minim Errors
Hi All,I'm recording some sound in a Processing sketch. It seems to be working fine but I get the errors below. Any idea what is going on? My sketch is working but I don't like seeing these errors....
View ArticleRe : JavaSound Minim Errors
It means you are trying to read a sound file whose format (they are numerous!) isn't supported by Minim. You should try and use another file or use a software like ffmpeg to re-encode it to a format...
View ArticleRe : How to port old PGraphicsOpenGL code to Processing 2 alpha - Additive...
ok, my guess is that this is an OpenGL zNear and zFar clipping plane issue in the processing code... http://www.opengl.org/archives/resources/faq/technical/depthbuffer.htm especially because when i...
View ArticleRe : JavaSound Minim Errors
The strange thing is that this sketch worked fine (with no errors) on the same computer before I upgraded from Fedora 16 to 17...
View Article