I don’t know why (probably did something wrong) but in the following blend, the Logic goes really slow.
- I’m using Video Texture which grab a webcam and render it on a plan as background of my scene. VideoStart.py is called one time to init the webcam and VideoUpdate.py is called by an “Always” Sensor to update the video texture
- Then I imported the Socket for network communication. Connect.py is called one time to init the socket and camcam_matrix.py is called by an “Always” Sensor which gets the data from the server, parse the string, and set the value from the string to an object.
the result is that the object is moving at the right time, but the video shows up really really too late. the serveur is a small application (which I cannot give away) which send matrix through socket.
The problem seems to come from the both Always Sensor. if I run just one of them everything is fine, but both at the same time, the video is dramaticly slow !
Do you have any clue of the problem ?
thanks for your help
Blend File : http://www.pasteall.org/blend/177