I’m new to using nuitrack and was wondering if it is possible to do something like this
Ive gotten to changing a color of a quad based on its depth value but am facing the issue of not knowing how to tell unity that certain areas are lower than another and to change the area accordingly
So ive managed to get to this point but now i am facing a new issue where the color stays after leaving the depth zone as shown in the video, is there a way to remove the coloring if the player leaves a certain area to not cause overlaps?
Heres a better visualization of the goal i have in mind, right now it only works with a single color but i want it to do the same but with different colors on different layers
However, conversions to Point Cloud are not optimized and will heavily load your system. We will develop the most productive solution and offer it to you later.
Thanks alot for the solution it worked perfectly! One more thing to add would be instead of the display being pixels is it doable for solid colors instead to make the object and background be a smoother look
We have prepared an optimized CPU solution for you.
Your question prompted us to improve the depth map display module and soon, methods for obtaining a depth map with arbitrary coloring will become part of NuitrackSDK.
This can be easily done by switching the gradient mode to Fixed.
If you need one color of different tones, then it can also be adjusted using a gradient by setting the necessary color keys. This is a very flexible system, experiment.
As for this package I am currently using unity version 2019.4.29f1 and it says the package was built for a newer version is there a way to get it to work for my version or do I have to update?
I use 2019.4.29f1 as its more stable with less bugs
NuitrackSDK latest version is aimed at Unity 2020.3.1f1 and higher. Using earlier versions may cause errors and unstable operation.
We use this version as the most stable and tested for NuitrackSDK.
We recommend that you use 2020.3.1f1.