paul.w Posted May 19, 2014 Share 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 Link to comment
silent Posted May 19, 2014 Share 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 Link to comment
paul.w Posted May 20, 2014 Author Share 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! Link to comment
paul.w Posted May 21, 2014 Author Share Posted May 21, 2014 Hi Did you get the file by FTP ? Link to comment
paul.w Posted May 21, 2014 Author Share 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); Link to comment
silent Posted May 23, 2014 Share 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 Link to comment
Recommended Posts