Hi all, I am currently working to display live video images from Kinect camera to Unity. I have managed to do so using a Texture2D component attached to a plane object and then updating the Texture2D using Texture2D.Apply() in the Monobehavior.Update() method. The framerate is pretty poor at 15 to 18 fps.
There are several posts that says Apply method is very slow and an alternative should be used to improve the framerate. However, I cannot find a definitive answer to this. Can anyone help me out with this?
Did you find a solution? Im searching hard to find a one and I have to use this function but cant since it makes gameplay choppy.
Up to 2 attachments (including images) can be used with a maximum of 524.3 kB each and 1.0 MB total.
The best place to ask and answer questions about development with Unity.
To help users navigate the site we have posted a user guide.
If you are a new user, check out our FAQ for more information.
If you are a moderator, see our Moderator Guidelines page.
We are making improvements to UA, see the list of changes.
For troubleshooting common problems with Unity 5.x Editor (including Win 10).
Answers and Comments
13 People are following this question.
Kinect Usermap Display Performance Problem
Kinect color frame - texture format bug
Inverse of a texture for masking?
fast way for converting from opencv mat to texture2d
Kinect SensorData Memory Leak