Jeroen Breen Posted March 8, 2017 Share Posted March 8, 2017 I have different tiles, each in its own canvas. When I toggle the camera (simultaneous), the tile that our out of the viewport seem to go wrong. This only happens in Firefox. One odd thing that I am doing in my code - and this is part due to the bug - is I am having my my rendering stopped all the time, but whenever a ui action is done (ao the camera toggling) I do a runRenderLoop() (I do this for processor saving, since my frames don't update all the time); Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted March 9, 2017 Share Posted March 9, 2017 Woot! this look like a bug for Bugzilla You can file a bug here (they are somehow fast to reply): https://bugzilla.mozilla.org/ Quote Link to comment Share on other sites More sharing options...
Jeroen Breen Posted March 9, 2017 Author Share Posted March 9, 2017 Hey @Deltakosh Are you sure its Firefox? Since it is all fine when I just let the runRenderLoop() run all the time. (Btw, I am new with BabylonJS: is it desirable to toggle runRenderLoop and stopRenderLoop all the time, or are there other ways to handle this) Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted March 9, 2017 Share Posted March 9, 2017 As long as it works on other browsers, it is likely a Firefox bug Regarding your question: this is a perfect usage of the API Jeroen Breen 1 Quote Link to comment Share on other sites More sharing options...
aWeirdo Posted March 10, 2017 Share Posted March 10, 2017 Hi, just checking, @Jeroen Breen In your scene.clearColor, you do write "new" before BABYLON.Color... right? otherwise; http://babylonjs-playground.com/#4LZ2G#0 Jeroen Breen 1 Quote Link to comment Share on other sites More sharing options...
Jeroen Breen Posted March 13, 2017 Author Share Posted March 13, 2017 Hey @aWeirdo I had scene.autoClear = false; But using clearColor does the job! Thanks. Quote Link to comment Share on other sites More sharing options...
Temechon Posted March 13, 2017 Share Posted March 13, 2017 Wow nice catch @aWeirdo ! Quote Link to comment Share on other sites More sharing options...
GameMonetize Posted March 13, 2017 Share Posted March 13, 2017 Woot! Really nice catch indeed! Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.