Quantcast
Channel: Processing Forum
Browsing all 1768 articles
Browse latest View live

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 Article


Re : 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 Article


Re : [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 Article

Image may be NSFW.
Clik here to view.

Re : 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 Article

how 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 Article


Image may be NSFW.
Clik here to view.

Re : 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 Article

Processing 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 Article

Re : 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 Article


Re : 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 Article


Re : 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 Article

Re : 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 Article

Processing 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 Article

Re : 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


Re : save a single frame from Webcam

terrific! thanks!

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 Article


Re : [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 Article

JavaSound 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 Article


Re : 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 Article

Re : 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 Article

Re : 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
Browsing all 1768 articles
Browse latest View live