Jump to content

How to render skeleton with 2d mode


JayPark

Recommended Posts

First, I'm not very good at English so bare with me.

I'm currently working on the Sample scene in the Hand tracking sdk in Unity. 

I'm using XR settings of Google Cardboard which doesn't support Skeleton mode.(I suppose I'm on the 2d point mode)

But can I render the skeleton model with the 21 points returned by the GestureInterface.cs(with the fake z coordinate)?

I know it will seem weird but I would really want those skeleton to show 

Link to comment
Share on other sites

Hi @JayPark

Since you are using Google Cardboard, then you are using 2d point mode. In this mode, only 1 2d point is returned to represent each hand.

If you are working with the sample scene, it already supports 2d point mode and it only displays 1 point for each hand. Although the API returns 21 points, only the first point is meaningful for 2d point mode. All other 20 points should be zero values and should be ignored.

If you are using the latest v0.9.1 version, there is a switch between skeleton and hand model if you make like gesture with both hands (thumb up). In such case, your hand point may disappear. You can make it appear by making the same gesture again.

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...