Kinect - Smoke paint

nim28's picture

Hi, I'm using OSCeleton and sendOSC and a smoke patch (from Kineme) to be able to smoke-paint virtually with Kinect. I have got my smoke particle system inside a sphere assigned to one hand of skeleton. I wish to paint simply with smoke but when I do so, it looks like fireworks (if I increase the particle count, it cover nearly the whole screen). Can anyone help me fix this so it looks more like skeleton painting smoke on canvas? Regards, Nim

PreviewAttachmentSize
test3.1.qtz745.2 KB

muqeem's picture
Re: Kinect - Smoke paint

Hi, I am new to stickman, but tried and was shooting darts in the vacuum, then found something working, as you wanted. Please see the attached. Now I wanted to through the fireball to the direction of the hand with the related acceleration… may be this is beyond my knowhow and not every time my guessing is going to work. :)☹

PreviewAttachmentSize
test3.1_Guising_v2.qtz674.75 KB

muqeem's picture
Re: Kinect - Smoke paint

and also please find the fireball (attached file) with the acceleration value.

If anybody know how to detach the ball at certain value and move in the same direction, please? I really want to through this at certain acceleration, I wish.

Appreciate for your help...

PreviewAttachmentSize
fireBall_2.qtz953.49 KB

dust's picture
Re: Kinect - Smoke paint

Muqeem I haven't opened your file or got to deep into triplex yet. With that stated I would think it would possible to use the triplex grab macro and hit test macros together. While you are grabbing inertia sample your xyz position coords as separate components and hook them up to your fireball positions. When you let go or detach from the hit test stop sampling the inertia and your fire ball should continue in the direction it was going and slow to a stop based on friction.

muqeem's picture
Re: Kinect - Smoke paint

Thanks, but I cannot able to find "triplex grab macro". In the meantime, I am playing with hit test macro. Another question, please. Is it possible to replace stickman to my own geometry, means replacing joints and sticks to my own meshes?

thanks

muqeem's picture
Re: Kinect - Smoke paint

I also tried to put sphere into "3D transformation" macro and published its translation inputs. Then put this "3D transformation" into another one so I have child and father hierarchy. Then I connect "/kinect skeleton get element" xyz values to the child xyz values and still have fathers xyz values to play with a conditional statement from the velocity. I think this way, if I have more velocity, I can trigger the first sphere "off" and second sphere "on" and move the father xyz coordinates according to certain velocity. In theory, it should work but still not a good coder for conditional statements. Please see the attached file with two spheres and one sphere "red sphere" is the "child/father sphere". thanks

PreviewAttachmentSize
fireBall_3.qtz960.53 KB

nim28's picture
Re: Kinect - Smoke paint

Hi, The fireball (which is suppose to be the smoke particle system) was attached to the right hand of skeleton. I did work when I last ran the patch however I haven't played with the new files you helped me with. Originally I wanted to take the particle system out of sphere and control the size of smoke pattern it was making, along side with being to assign some colour properties to its x,y,z. E.g. The faster the movement the brighter the colour, different colours for depth etc. When I take the particle system out of sphere it takes over the whole screen and I can't get it to get me the results I want :( Regards, Nim

muqeem's picture
Re: Kinect - Smoke paint

Hi, since the structure of the file was exactly as “11_01s acceleration values” file provided by triplex, I copied the stickman patch “/kinect skeleton stickman” and replace your patch for stickman. It is then started working fine.

I still wish that this fireball sort of an object could be thrown with acceleration, and even at certain desired direction. My apologies for changing the name of the file, as I thought it would be so much fun to through an imaginary object like “fireball” and have fun playing with it. best

nim28's picture
Re: Kinect - Smoke paint

Hi Muqeem, Don't worry about it, not like the original one was mine. I have just been experimenting with it :) Thanks for all your help though.