paul.w Posted May 19, 2014 Posted May 19, 2014 Hi When I play the game on my computer using (launch_release.bat) the video and animation is in sync but when the client plays it on a faster computer the video and animation is out of sync :( I've also tested on a faster computer with a good video card and it's in sync! Why would this be? I set video by email the animation and video starts at 0:26
silent Posted May 19, 2014 Posted May 19, 2014 Hi Paul, Please, check the condition of Vsync option (ESC -> Vsync) on both computers. Maybe you have it enabled and other computer is not. If Vsync option is the same on both computers, I'm afraid we need some test scene for reproduction or at least script where you set the video fps. Thanks! How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
paul.w Posted May 20, 2014 Author Posted May 20, 2014 Hi It's not (ESC -> Vsync) The game runs all day waiting for XML, once it receives the XML it plays events, one event is a video with sync animation, first it ok but the second time, third and so on it's running way out of sync! I have tried : gameRunVideoBground.stop(); // video viewport_node.setTime(1.000); //model animation gameRunVideoBground.setVideoTime(0.0f); //video when the video and animation needs restarting!
paul.w Posted May 21, 2014 Author Posted May 21, 2014 What is the best way to reset the video of WidgetSpriteVideo, is it: gameRunVideoBground.setVideoTime(0.0f); What is the best way to reset animation of ObjectMeshSkinned ( which ones ) viewport_node.setTime(1.0f); viewport_node.setFrame(-1); viewport_node.setFrame(0.0f, 0, 0); viewport_node.clearFrame(); viewport_node.getFrame(); viewport_node.setTime(1.0f);
silent Posted May 23, 2014 Posted May 23, 2014 Closing this topic, since we've answered you by mail. How to submit a good bug report --- FTP server for test scenes and user uploads: ftp://files.unigine.com user: upload password: 6xYkd6vLYWjpW6SN
Recommended Posts