王鹏程 Posted May 28, 2018 Share Posted May 28, 2018 Is there some usages about Depth Data in SRWorks SDK? what's the GetDepthCallback() function parametes in VIVE SRWorks SDK\Vive-SRWorks-0.7.0.0\C\sample-vs2015\main.cpp means? void GetDepthCallback(char *src_l, float *src_d, unsigned int frame_sep, unsigned int time_stp, float *pose, float *vertices, int numVert, int vertexStride, int *idx, int numIdx) Link to comment Share on other sites More sharing options...
liyi_zheng Posted May 28, 2018 Share Posted May 28, 2018 It is able to calculate dynamic collider to use the last 5 parameters and is demonstrated in Unity only. There are 2 files which you can refer to. Vive-SRWorks-0.7.0.0\Unity\Plugin\Vive-SRWorks-0.7.0.0-Unity-Plugin.unitypackage\ViveSR\Scripts\ViveSR_DualCameraDepthExtra.cs Vive-SRWorks-0.7.0.0\Unity\Plugin\Vive-SRWorks-0.7.0.0-Unity-Plugin.unitypackage\ViveSR\Scripts\ViveSR_DualCameraDepthCollider.cs Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now