Hairy Kinect Pictures
You may remember the Furry Santa. That gave me the idea to use the Kinect 3D data to add hair to everything!
Yes, I know, pretty useless . But I like the results :
How Does it work?
In short, make an isosurface of the depth output from the Kinect and calculate the normals.
Then calculate points on the triangles where a hair starts. Now, start growing the hair in the direction of the normal in that point. Add some random and gravity to the growing direction of the hair. And to finish it of, calculate the lightning on every hair segment for a more realistic effect.
Of course, you can also use the pixel data of the Kinect webcam to make hairs in the original object colours. But I liked the black images more.
[update] I now got it now running real-time with a geometry shader:
Source code is a real mess, so at your own risk : Kinect Hair.