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

Re : new shader() supporting geometry shaders?

Hi, support for geometry shaders is not planned for Processing 2.x. As Amnon pointed out, the shader API follows the GLES 2.0 spec, which doesn't include geometry shaders. However, you can get the...

View Article


Multiple mp3s with Minim

Hey Guys,again I am working with minim for an installation where I am planning to play many short mp3 samples in order.So I'm wondering if it's better to load them beforehand in an array or to always...

View Article


Unable to install modes in processing

Hi,I am new to processing, I have downloaded processing 2 and copied the files in desktop. Now when I am trying to install coffeesript mode, I am encountering the following errorCoffeeScript mode...

View Article

Image may be NSFW.
Clik here to view.

Re : Unable to install modes in processing

I guess I'm 1 of the few people who had no problems installing those modes!In my personal configuration, my "Sketchbook location" is outside where Processing itself is installed.And I've found out that...

View Article

Re : LWJGL Renderer

I've been tinkering with it and I have a guess. Might be useless, but I'll post anyway. The PGL allocateXXX methods are protected and the PGraphicsLWJGL constructor is trying to call them from a...

View Article


Re : How can I make a beat detector?

Thanks. Unfortunately, my project has a very confusing beat, and it fired off many times, often in rapid succession.(\(\.(-.-)  -- Oh well...(_(")(")

View Article

Re : Unable to install modes in processing

Hi GoToLoop,Thanks for the prompt reply. It worked successfully. Your explanation is much appreciated.Thanks and Regards,Rishihub

View Article

GLSL texture feedback (in&out) and windowing for brush

Hello,I would like to know what is the most effective way how to use glsl shader in processing 2.0 to do operations on texture (image processing) without copying the data back and forth between RAM and...

View Article


Re : Multiple mp3s with Minim

No experience to share, but both solutions seem easy to try, so you should implement both and see what fits more your needs. Basically, it is slow start up time vs. a little slow down on each load...

View Article


Re : Multiple mp3s with Minim

Hi PhiLho,thanks, that's what I thought...I wanted to understand what behaves best when an installation is running for a whole day whithout having to test it since I'm a bit tight on time.What exactly...

View Article

two equal webcams -> bug

hi, I'm trying to get it managed to use two webcams of the same kind in my program, but the only way to get two different streams at the same time is when i plug in the first USB-Webcam, start skript...

View Article

Re : Multiple mp3s with Minim

Threaded loading is more used with images, I don't know if it works well with Minim. The idea is to create a thread that would load the sound. The interest is that it can be a real system thread, so it...

View Article

Re : Minim & Super Accurate Frequency or Beat Detection / Analysis

Wanted to share my learnings since this post - I've much improved on the above (which was in fact broken / not working as it should).I struggled to find a working sketch that shows how to accurately...

View Article


Re : LWJGL Renderer

That shouldn't be the problem, notice that PGraphicsLWJGL instantiates pgl using processing.lwjgl.PGL, not the PGL class from processing.opengl, so the protected methods are inside the LWJGL package.

View Article

Is the Serial library Thread Safe?

Hi all,I've got another quick question I hope gets answered. Is the Serial library Thread Safe, like can I pass around one Serial object to several different threads without synchronization issues?-Brad

View Article


Re : LWJGL Renderer

I probably might be doing something wrong to begin with, but this is what I'm getting. I have LWJGL and the P5LWJGL stuff set up as libraries in the sketchbook. Just tinkering in the PDE.import...

View Article

Re : Is the Serial library Thread Safe?

Probably not... Perhaps worth a try.

View Article


Re : Is the Serial library Thread Safe?

Alright, I'll give it a shot, any suggestions if it doesn't work out, are there any buffers that are considered thread safe that could be passed around.

View Article

Saved PDF is blank :(

Hello guys :)I have a short question.Why does the following Sketch give me a blank pdf?import processing.pdf.*;boolean record;void setup () {  size(600, 600);  smooth();  background(255);}void draw ()...

View Article

Re : Saved PDF is blank :(

Haven't looked at your code yet. However, here's a PDF recording example that works:http://forum.processing.org/topic/pdf-export-shapes-misaligned

View Article
Browsing all 1768 articles
Browse latest View live