Logo by Jimpan1973 - Contribute your own Logo!

END OF AN ERA, FRACTALFORUMS.COM IS CONTINUED ON FRACTALFORUMS.ORG

it was a great time but no longer maintainable by c.Kleinhuis contact him for any data retrieval,
thanks and see you perhaps in 10 years again

this forum will stay online for reference
News: Visit the official fractalforums.com Youtube Channel
 
*
Welcome, Guest. Please login or register. March 29, 2024, 08:35:00 AM


Login with username, password and session length


The All New FractalForums is now in Public Beta Testing! Visit FractalForums.org and check it out!


Pages: [1] 2   Go Down
  Print  
Share this topic on DiggShare this topic on FacebookShare this topic on GoogleShare this topic on RedditShare this topic on StumbleUponShare this topic on Twitter
Author Topic: Just bought a Kinect, first tests with the C# SDK  (Read 3521 times)
0 Members and 1 Guest are viewing this topic.
ker2x
Fractal Molossus
**
Posts: 795


WWW
« on: July 07, 2011, 10:57:16 AM »

1st test :
<a href="http://www.youtube.com/v/jPqC8GpwPXc&rel=1&fs=1&hd=1" target="_blank">http://www.youtube.com/v/jPqC8GpwPXc&rel=1&fs=1&hd=1</a>

2nd test :
<a href="http://www.youtube.com/v/u3YKNtptVaE&rel=1&fs=1&hd=1" target="_blank">http://www.youtube.com/v/u3YKNtptVaE&rel=1&fs=1&hd=1</a>
Logged

often times... there are other approaches which are kinda crappy until you put them in the context of parallel machines
(en) http://www.blog-gpgpu.com/ , (fr) http://www.keru.org/ ,
Sysadmin & DBA @ http://www.over-blog.com/
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #1 on: July 07, 2011, 01:26:13 PM »

is it out already ?!
do you have a link to a store ready !? i am very keen on this thing, because it really opens up many possibilities ( not only for fractalers ) in fact i think this thing can, if delivered with a higher resolution, and the possibility to use more than one thing to improve view angles, replace any external input devices even for a normal computer, you can use the desktop ( the real one ) as keyboard, you can use your hand as a mouse....
Logged

---

divide and conquer - iterate and rule - chaos is No random!
ker2x
Fractal Molossus
**
Posts: 795


WWW
« Reply #2 on: July 07, 2011, 02:00:38 PM »

The kinect itself is out since a long time ago.
There was unofficial PC (mac/linux/win) drivers/sdk almost immediatly.

Microsoft released (still in beta) an official SDK last week.
http://research.microsoft.com/en-us/um/redmond/projects/kinectsdk/
Logged

often times... there are other approaches which are kinda crappy until you put them in the context of parallel machines
(en) http://www.blog-gpgpu.com/ , (fr) http://www.keru.org/ ,
Sysadmin & DBA @ http://www.over-blog.com/
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #3 on: July 07, 2011, 02:35:48 PM »

did you buy a kinect device with games, or is there a just USB Only Kinect Device ready to buy somewhere ?
Logged

---

divide and conquer - iterate and rule - chaos is No random!
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #4 on: July 07, 2011, 02:41:01 PM »

righty right, i just ordered the microsoft kinect device for 99€ .... i am really excited, first test will be an interactive 2d mandelbrot kinect test cheesy
be prepared!
Logged

---

divide and conquer - iterate and rule - chaos is No random!
ker2x
Fractal Molossus
**
Posts: 795


WWW
« Reply #5 on: July 07, 2011, 02:57:18 PM »

did you buy a kinect device with games, or is there a just USB Only Kinect Device ready to buy somewhere ?

i bought it with a game a resold immediatly.
Yes, i could probably get it for cheaper elsewhere. paid 120€ at a console game shop.
Logged

often times... there are other approaches which are kinda crappy until you put them in the context of parallel machines
(en) http://www.blog-gpgpu.com/ , (fr) http://www.keru.org/ ,
Sysadmin & DBA @ http://www.over-blog.com/
cbuchner1
Fractal Phenom
******
Posts: 443


« Reply #6 on: July 07, 2011, 04:21:43 PM »

That is interesting. So there is a virtual touch plane in space.

I might try to implement a Multitouch interface for the 3D application we're developing here using Kinect. But first I would have to support regular touch panels.

You could try to control some fractal parameters with your hands using one of the OpenCL/GLSL based realtime renderers.
Or maybe navigate with your body wink
« Last Edit: July 07, 2011, 04:52:59 PM by cbuchner1 » Logged
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #7 on: July 07, 2011, 05:02:50 PM »

that is the idea cheesy each hinge produces an additional parameter, although normalization could be tricky ( remember hairy ball theorem ? e.g. calculating an angle between 2 points can be clitchy ... ) through hybrid generation of parameters there is enough variety that can be produced, just imagine controlling 32 parameters at the same time, i can see the dancers in the disco doing nice stuff with that, i think that kinect is one of the most amazing developments in the recent years
Logged

---

divide and conquer - iterate and rule - chaos is No random!
ker2x
Fractal Molossus
**
Posts: 795


WWW
« Reply #8 on: July 07, 2011, 06:03:29 PM »

That is interesting. So there is a virtual touch plane in space.

there isn't any defined virtual touch plane.
But it's still very simple

the (interesting part of ) kinect  send 2 data : RGB and Depth.
RGB is a good old webcam data
Depth is a minimum of 0.85m and a maximum of 4m.
0 for unknown depth (too far, too close, mirror/window, ..)

I just wrote a few condition
Code:
for each depthPixel
  if (depth == 0) -> black
  else if (0.85 < depth < 1) -> draw pixel in the "paint" overlay
  else -> draw pixel on BW according to distance.
done

easy, huh ? smiley
Logged

often times... there are other approaches which are kinda crappy until you put them in the context of parallel machines
(en) http://www.blog-gpgpu.com/ , (fr) http://www.keru.org/ ,
Sysadmin & DBA @ http://www.over-blog.com/
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #9 on: July 12, 2011, 12:55:06 PM »

damn i got that kinect thing now, examples are running nicely, but i am struggling right now to setting up my development enviro, installing dozens of sdks ( windows, directx, kinect, speech, xna ) i am not really fammilar with the c# way of life ... but i will get some tutorials right now, i find it a bit strange to just link to a dll to use it, but all in all i like the c# way of code, it is similar to actionscript, but a bit more mighty, and i am really disappointed that c# as well does not support multi-inheritance ( for implementing interfaces just ONE time ... ) happy coding in 2011....
Logged

---

divide and conquer - iterate and rule - chaos is No random!
ker2x
Fractal Molossus
**
Posts: 795


WWW
« Reply #10 on: July 12, 2011, 11:04:16 PM »

damn i got that kinect thing now, examples are running nicely, but i am struggling right now to setting up my development enviro, installing dozens of sdks ( windows, directx, kinect, speech, xna ) i am not really fammilar with the c# way of life ... but i will get some tutorials right now, i find it a bit strange to just link to a dll to use it, but all in all i like the c# way of code, it is similar to actionscript, but a bit more mighty, and i am really disappointed that c# as well does not support multi-inheritance ( for implementing interfaces just ONE time ... ) happy coding in 2011....

i suggest to read http://digitalerr0r.wordpress.com/ smiley
Logged

often times... there are other approaches which are kinda crappy until you put them in the context of parallel machines
(en) http://www.blog-gpgpu.com/ , (fr) http://www.keru.org/ ,
Sysadmin & DBA @ http://www.over-blog.com/
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #11 on: July 12, 2011, 11:26:10 PM »

thx  educated hungry
Logged

---

divide and conquer - iterate and rule - chaos is No random!
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #12 on: July 16, 2011, 03:52:42 PM »

first test:

set up: use an array of 20 complex parameters used in the iteration loop as alternate values
max iterations: 128

each of the 20 values is then assigned a X/Y pair of the joints provided by the skeleton data

and this is what it looks like ( needs to get proper fullscreen scaling ) after ~3 hours of work
now i need to switch on fullscreen mode, and render that texture fullscreen wink


* Clipboard02.jpg (42.5 KB, 828x531 - viewed 307 times.)
Logged

---

divide and conquer - iterate and rule - chaos is No random!
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #13 on: July 16, 2011, 03:53:54 PM »

right now i am using a hlsl shader for rendering the 2d fract, but next step will then be to use real 3d parameters as input cheesy
Logged

---

divide and conquer - iterate and rule - chaos is No random!
cKleinhuis
Administrator
Fractal Senior
*******
Posts: 7044


formerly known as 'Trifox'


WWW
« Reply #14 on: July 16, 2011, 07:22:31 PM »

ok, first test video:
<a href="http://www.youtube.com/v/wYhbTf1-OAo&rel=1&fs=1&hd=1" target="_blank">http://www.youtube.com/v/wYhbTf1-OAo&rel=1&fs=1&hd=1</a>
Logged

---

divide and conquer - iterate and rule - chaos is No random!
Pages: [1] 2   Go Down
  Print  
 
Jump to:  


Powered by MySQL Powered by PHP Powered by SMF 1.1.21 | SMF © 2015, Simple Machines

Valid XHTML 1.0! Valid CSS! Dilber MC Theme by HarzeM
Page created in 0.168 seconds with 25 queries. (Pretty URLs adds 0.015s, 2q)