王鹏程 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
Archived
This topic is now archived and is closed to further replies.