ahmadyahyadawod / simple-openni

Automatically exported from code.google.com/p/simple-openni
0 stars 0 forks source link

Older SimpleOpenNi versions #101

Open GoogleCodeExporter opened 8 years ago

GoogleCodeExporter commented 8 years ago
Hi, i'm having problems with the newer version of SimpleOpenNI, I've been using 
an old version for a while and had to reinstall windows, lost it and now, I'm 
quite comfused.. 

1-enableIR() is not working, it gives me a black image. and yes, everything 
should be working, updating every draw loop, the IR light is on, no error in 
the console.. just black.

2-enableUser() has nothing to do with enableScene().. I liked the idea of 
having the user without the depthMap.. unless I'm missing something I think it 
was a great feature... u know, "if(brightness>0)blabla;"... sooo simple. with 
the depthMap in there.. it just gets messy really quickly.. could probably draw 
a PGraphic using the userMap[] thing but enableScene() was just so easy..

anyway, I<m looking for an older version of SimpleOpenNI, is there one laying 
around somewhere? I can't find any..

Original issue reported on code.google.com by demers.r...@gmail.com on 12 Apr 2014 at 3:34

GoogleCodeExporter commented 8 years ago
try enableIr(1,1,1)

Original comment by tom.mode...@gmail.com on 18 Apr 2014 at 7:52

GoogleCodeExporter commented 8 years ago
nice, it works, enableIR(int width, int height, int fps) ... (1,1,1) is not 
working as it should however.. But i'm really glad to see that star map again. 
thanks. 

also blending depthImage() on userImage() using the DIFFERENCE attribute gives 
pretty much the same result as the old sceneImage(). only slower..

image(userImage(),0,0);
blend(depthImage(),0,0,width,height,0,0,width,height,DIFFERENCE);

Original comment by demers.r...@gmail.com on 21 Apr 2014 at 4:15