AS3NUI / airkinect-2-core

AIRKinect 2.0 Core
http://as3nui.com
113 stars 41 forks source link

Need the ability to set skeleton smoothing #17

Closed guanwenhu closed 11 years ago

guanwenhu commented 12 years ago

Hi in openni, Skeleton Capability has the ability to set smoothing (value between 0 and 1). I can not find this feature in version 2, however I do find something similiar in version 1, but version 1 does not support openni. Any idea?

Thanks

sunimalr commented 12 years ago

Is the setSmoothParamters option not included in AirKinect2 or 2.2 ??

FranciZ commented 12 years ago

I looksl like it's gone in v2+. I'm looking through the native extension code but can't get it to compile so I can't figure it out. Anyway this would be greatly appreciated.

wouterverweirder commented 12 years ago

this is now in our dev branch: you can specify skeletonSmoothing with the initial settings, and adjust with setSkeletonSmoothing. Only on OpenNI for now...

sunimalr commented 12 years ago

I edited default parameters in the C++ file, compiled the .dll and made the ANE as I needed to use smooth parameters with MSSDK. I'm trying to write a public method to set it in actionscript, but needs some more knowledge on ANEs to do that. So I suggest if it is urgent for someone to apply smoothening with MSSDK, do what I did ;)

Cheers!!

On Sun, Oct 14, 2012 at 11:21 PM, wouterverweirder <notifications@github.com

wrote:

this is now in our dev branch: you can specify skeletonSmoothing with the initial settings, and adjust with setSkeletonSmoothing. Only on OpenNI for now...

— Reply to this email directly or view it on GitHubhttps://github.com/AS3NUI/airkinect-2-core/issues/17#issuecomment-9423615.

FranciZ commented 12 years ago

Is there any way you could share the ANE file you made. I'm lacking in that department.

Thanks for the info!

sunimalr commented 12 years ago

Here it is:

https://github.com/downloads/sunimalr/airkinect-2-core/AIRKinectNew.ane

You can use it in the same way use the original airkinect ane. I haven't changed anything other than defualt smooth parameters.

It's great to help you with this,

Cheers!!

Sunimal

On Mon, Oct 15, 2012 at 4:45 PM, FranciZ notifications@github.com wrote:

Is there any way you could share the ANE file you made. I'm lacking in that department.

Thanks for the info!

— Reply to this email directly or view it on GitHubhttps://github.com/AS3NUI/airkinect-2-core/issues/17#issuecomment-9441601.

wouterverweirder commented 11 years ago

Has been included in our main branch for a few months now.