Hi Eisern,
Do you know why OpenKinectCamera DEmo c# program return to me the
message
send_cmd: Output control transfer failed (-5)
Kinect led it's fixed Red color .
I install Kinect with NUI Driver as usual . I can move motor and
change led color by using LibUsbDotNet dll and send command to Kinect
directly but i can't see any camera .
Any idea ?
Thank you
Ale
On 6 Dic, 14:03, EisernSchild <
eisernsch...@gmail.com> wrote:
> Here s the next version, all fixed.
>
> Please post in the forum if You have any ideas for the class.
>
> salut
>
> Class KinectCamera
> v2010-12-05
>
> * as close to OpenKinect repo code as possible to make any further
> updates easier
> * provides managed Bitmap class images for both Video (ARGB) and Depth
> (easy to use in AForge.NET C# Framework...
http://www.aforgenet.com/)
> * logging
> * vertical Sync fixed
> * depth grayscale/color gradient export
> ( use
> "Camera.freenect_set_depth_format((freenect_depth_format)5);"(gradient)-
>
> "Camera.freenect_set_depth_format((freenect_depth_format)4);"(grayscale) )
> * motor/led
> * ARGB alpha channel (for both depth and video in case of ARGB output)
> * XNA Texture direct mapping
> ( done by IntPtr videoData & depthData like this :
>
> Texture2D tx;
>
> //create data buffer
> byte[] bytes = new byte[640 * 480 * 4];
>
> // copy bitmap data into buffer
>
> System.Runtime.InteropServices.Marshal.Copy((IntPtr)KinectCamera.depthData,
> bytes, 0, bytes.Length);
>
> // set our buffer to the texture
> tx.SetData(bytes);
> )
>
> (Release Built)
http://dl.dropbox.com/u/13924535/OpenKinectCamera_v20201205_Release.zip
> (Code)
http://dl.dropbox.com/u/13924535/OpenKinectCamera_v20101205.zip
> (Demo - Update)
http://dl.dropbox.com/u/13924535/KinectDemo.zip
> > > P.S.: looking forward for the official C# wrapper from LostInCake ;-)- Nascondi testo citato
>
> - Mostra testo citato -