Visualization in world space
cwule opened this issue · comments
Wonderful project, with the Readme descriptions the build worked without a problem, thanks!
Two issues I am having:
- The app crashes on my Hololens quite often. Is that just for me or did you also experience that?
- Do you plan to visualize the depth information in world space instead of a screen?
Hi @cwule, I'm glad you were able to get the sample up and running!
As to the issues you've described, I've experienced more crashes running the sample in Debug mode than the Release configuration. Also, the current implementation sends sensor frames from the C# Unity project to the C++ WinRT project every frame which is the likely cause of memory leaks and crashes. An alternative implementation would be to do all processing inside the C++ project and just return the final PvDepth frames.
I currently don't have plans to visualize the depth information in the world space instead of a screen, though I'd imagine it would be possible as all of the required transform matrices are easily accessible through the HoloLensForCV plugin. There are some discussions about visualizing depth in the world coordinate system on the HoloLensForCV repo which could be of use!
@cwule have u managed to get it work in world space?