Jump to content

FreeCamera mouse movement issues with Firefox Quantum


Myjestic
 Share

Recommended Posts

Hi,

I just tried my BJS Game with the new Firefox Quantum Browser. Loading times and preformance is really good as far as I could say at the moment. But I have a big issue with the mouse movement of the freecamera. It is very sluggish and sticky.

I cannot really describe how it feels, but it is uncomfortable :unsure:
Has anyone noticed this problem as well?

Link to comment
Share on other sites

I am sorry but at the moment I cannot provide the whole scene / game online. Too many thinks to do to make it work online.

I cannot clearly see the problem at the espilit or sponza demo. Sometimes I thing the mouse movement in Quantum is like dropping fps.

Something with the mouse or keyboard movement is interpreted in another way with Quantum. If I change the FreeCamera to a UniversalCamera, in Chrome everthing works fine.

In Quantum if I walk forward, turn the mouse left and stop walking forward and still holding the mouse button, the camera is slightly moving forward. 

 

Also if I lock the cursor in Chrome and the old firefox versions, mouse behaviour is okay. In Quantum the view jumps around.

 

Link to comment
Share on other sites

In the F12 tools of Firefox you can select the tab "performance". You will see a "Start recording" button. Press it, move the camera while experiencing the drop in FPS and afterwards press "Stop recording".

The result should look similar to this:

image.thumb.png.cb5a0533d1ae70fbd7c81c943cbc737a.png

This will help you and us understand what is taking most of the CPU usage and will allow us to optimize performance.

Link to comment
Share on other sites

What I learn, in general, is that requiestAnimationFrame takes 9ms to run, which is well in the limits and shouldn't be a problem. It takes a long time to draw the frame, which is the problem is this case. It doesn't seem to be related to the camera or any Babylon code, but this is purely an assumption. To me it seems like your browser finds in hard to render from time to time. Is it possible that there is another frame rendering at the same time?

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...