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

OutOfMemoryError updating textures to a PShader

Hi,I'm trying to compute a weighted mean algorithm in the GPU. I want to pass several images to the shader, via sampler2d uniforms, in a FIFO queue style, having  a new one each frame by grabbing it...

View Article


Re : Processing 2.0 Capture list gives different results

I have the same problem, but posted in a the wrong place...As I understood, Processing as 2.0+ version, on osx, stopped using quiktime. But macam.componente uses quiktime for PS3 Eye camera on...

View Article


Image may be NSFW.
Clik here to view.

Re : OutOfMemoryError updating textures to a PShader

it gives me this error= The shader doesn't have a uniform called "index"OpenGL error 1282 at bot endDraw(): invalid operationblack screen…which doesn't quit- but I'm not sure it does something

View Article

Image may be NSFW.
Clik here to view.

Re : OutOfMemoryError updating textures to a PShader

Thats weird, there is an index uniform in the shader. Anyway, try to remove the line kSmooth.set("index", texIndex);from the draw() function and the lineuniform int index;from the shader, that variable...

View Article

Re : OutOfMemoryError updating textures to a PShader

it doesn't really help but no problem under android… the memory doesn't increase…

View Article


Re : OutOfMemoryError updating textures to a PShader

Thanks pauline! Then I guess it could be related to the implementation on the "java mode"...

View Article

PS3Eye & Processing 2.0b8 on osx not working...

My problem is that I want to use a PS3 Eye, as I did in the past, in a mac osx 10.6.8 with Processing 2.0b8.Before, with Processing 1.5, I used Macam (macam.componente). Now as I understood, Processing...

View Article

procceing graph (im a newbie)

Hello, im using proccessing for graphs, but i want a linear graph, what function do i need to use to make a normal line like in this graph:http://www.youtube.com/watch?v=iH1bPQOCAH4Im new to...

View Article


Re : procceing graph (im a newbie)

I moved the question from the Programming Questions, because you use the Serial library: one cannot run your code without an Arduino or similar.If the question is only about graph, you should make a...

View Article


Re : procceing graph (im a newbie)

would that help ? int i;int delta;void setup(){  size(500, 500);  delta = mouseY;  background(200);}void draw(){  if (delta != mouseY)  {    i++;    if (i>width)    {       i=0;...

View Article

Re : movie volume control

The Movie object has a function volume(float v) that takes a number from 0 to 1.

View Article

Re : Processing 2.0 Capture list gives different results

@kasperkamperman and anybody else with this problem.I found out a way to use my PS3 Eye with Processing 2.0b8. (Tested in Mac osX 10.6.8 and on Windows 7)A resume of what I did:Driver Install:Mac:...

View Article

Re : PS3Eye & Processing 2.0b8 on osx not working...

I found out a way to use my PS3 Eye with Processing 2.0b8. (Tested in Mac osX 10.6.8 and on Windows 7)A resume of what I did:Driver Install:Mac: http://webcam-osx.sourceforge.net/Win:...

View Article


Re : Processing 2.0 Capture list gives different results

Thanks mj, I tested this Processing 2.0b8 and OSX 10.7.5 and it works only in 32 bit mode (which you can set in the Processing preferences screen). Setting it in 64 bit mode will give you the "wrong...

View Article

Re : movie volume control

Excellent, thank you.Dan

View Article


Trying to switch automatically between webcams

Im trying to write a processing script that will randomly cycle through a series of webcams, i can get the values to change of random but it doesn't seem to effect the camera changing. I'm a little...

View Article

Minim, android and LGPL

Hi,I am trying to use Minim (actually, only certain parts of it) to implement a rhythm game for Android. The game will eventually go into commercial distribution (hopefully!) However, Android have...

View Article


Re : Minim BeatDetect

All I want to do is to capture the song’s beat in the most accurate way, kind of like tapping your feet to a song. In that case maybe it would be better to capture the music's BPM instead. BeatDetect...

View Article

Image may be NSFW.
Clik here to view.

All codes correct but only see grey screen?

Even the code is all right(coz I run the example onesfor test)and all the libraries are importedThings do not show up but only just grey screenand there are red sentences below like:when I copy and...

View Article

Re : All codes correct but only see grey screen?

Apparantly it's related to OpenGL.It could be you have a very old video card or the drivers on your video card are outdated.

View Article
Browsing all 1768 articles
Browse latest View live