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

Re : Blend video cam with background image

second attempt with SimpleOpenNI - unsuccessfullyimport processing.opengl.*;import codeanticode.glgraphics.*;import SimpleOpenNI.*;GLTexture bottomLayer, topLayer, resultLayer;GLTextureFilter...

View Article


Re : SOLVED - Blend video cam with background image

Here it is how to apply filters to a video cam:import processing.opengl.*;import codeanticode.glgraphics.*;import codeanticode.gsvideo.*;GSCapture cam;GLTexture texSrc, texFiltered;GLTextureFilter...

View Article


No library found for cc.arduino

Hello everyone.I've a problem, i followed all the steps from this link http://playground.arduino.cc/interfacing/processing. I've downloaded  processing-arduinomega.zip because i'm using arduino...

View Article

I'm trying to add sound..

hello everybody,i'm trying to add sound to my game but it's saying:Null pointer exceptioni don't know what's wrong with it. can someone help me?thanks in advance.this is my game:int knopX = 510;int...

View Article

Save PDF on keypress

Hi,Question,How can I record with a keypress an another keypress to stop recording (the recording has to be a pdf or png but without the background).This is what I already have.                  float...

View Article


Re : I'm trying to add sound..

  player = minim.loadFile("GhostBusters.mp3");  minim = new Minim("GhostBusters.mp3");So, you init minim after you started to use it...Invert these two lines.Beside, the Minim constructor must be...

View Article

Re : Save PDF on keypress

I suggest to read the http://processing.org/reference/libraries/pdf/index.html page, the answer is probably there already.

View Article

NullPointerException PFont.addGlyph

I periodically get this error.  Any suggestions how I could handle it?java.lang.NullPointerException    at processing.core.PFont.addGlyph(PFont.java:462)    at...

View Article


Re : HELP! pdf/ high res images

See: http://processing.org/reference/libraries/pdf/index.html

View Article


How to get work a uEye cam in processing?

Hello guys, I was trying to make a tracking with a IR cam, but the problem is that processing doesn't recognize my cam. I'm working with a Asus Eee PC 1000H and I've tested this little script with...

View Article

MovieMaker using save frame function. Error code java.lang.NullPointerException

HII'm an absolute beginner trying to mix Processing with moving images edited on Premiere Pro. I'm just trying to do very simple sketches and then want to export as video clip to layer with traditional...

View Article

Adding background image to existing code

Hello,i am completely new to processing can someone please help me with this code ,I want to add a background image to it, the background image would be placed in the processing folder/dataimport...

View Article

Re : Adding background image to existing code

Have you looked at background() this is probably the easiest way to do it especially since you are using a 3D renderer.

View Article


Re : Adding background image to existing code

i tried stuffs like PImage b;void setup(){ ... b = loadImage("fondo_fade.png"); ...} void draw(){ image(b, 0, 0); ...}but i keep getting errors , like i said i am new to processing could u be more...

View Article

Re : Adding background image to existing code

Change draw() tovoid draw(){      background(b);      // ...}The only restriction is that the image MUST be the same size as the skecth canvas (as speciified in the size() method call)

View Article


Re : Adding background image to existing code

I tried what you suggested but i got the error " it looks like you'r e mixing active with static modes" and the "background(b);" gets highlighted at line 51 .i did resize the image to 800x600import...

View Article

Re : Adding background image to existing code

Line 50 is the end of your draw() function. Your call to background() on line 51 is not inside any function!You should replace line 93 with line 50, and then remove line 50.

View Article


Image may be NSFW.
Clik here to view.

Re : Adding background image to existing code

It seems @ line # 51 -> background(b);it is outside of any function scope.AFAIK, it shoulda been the 1st thing inside function draw()!P.S.: In these...

View Article

Re : Adding background image to existing code

In your code above line 51 is in the wrong place it should be in the draw() method so move it so it looks like thisvoid draw() {  background(b);  updateSerial();  drawBoard();}Also you should remove...

View Article

Re : Adding background image to existing code

Thanks guys !!!!!!! it worked 

View Article
Browsing all 1768 articles
Browse latest View live