- Home /
Alternatives to using Texture2D apply to display color images from Kinect camera
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.
void Update()
{
tex.SetPixels32(KinectSensor.ColorImage);
tex.Apply(true);
}
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.
Your answer
![](https://koobas.hobune.stream/wayback/20220613095446im_/https://answers.unity.com/themes/thub/images/avi.jpg)
Follow this Question
Related Questions
fast way for converting from opencv mat to texture2d 1 Answer
Kinect Usermap Display Performance Problem 0 Answers
Kinect color frame - texture format bug 0 Answers
Smooth Synchronized HD Video Playback 0 Answers
Inverse of a texture for masking? 1 Answer