Camera rotation bug.

Igor47
New member
 
Posts: 5
Joined: Fri Sep 04, 2015 19:50
In-game: Igor47

Camera rotation bug.

by Igor47 » Fri Sep 04, 2015 20:13

Hi everyone.
I just joined the forums, and my English suck, so I hope you'll understand everything I'll try to explain.

I played Minetest 0.4.12 on my laptop without any problems.
When I updated it to 0.4.13, I ran into a problem...
Whenever I move my mouse just a little bit, camera starts spinning slowly and endlessly in the direction I moved my mouse.
I searched some info about this bug previously, and the only solution I found was switching to fullscreen, but that does not help at all.
However, when I use touchpad, it runs flawlessly, but it is uncomfortable.

My specs:
Intel Core i7 4710HQ
Nvidia GeForce GTX 860m
8GB Ram
Windows 10

EDIT:
I ACCIDENTALLY fixed that bug by messing around in registry.
I had a little issue with my touchpad. When I type or hold any button, cursor stops moving. So to disable that, I had to switch some values with regedit, and after I rebooted my laptop, I noticed that there is no more problems with rotation, and I am unable to reproduce the bug.
Last edited by Igor47 on Tue Sep 08, 2015 17:36, edited 1 time in total.
 

Dragonop
Member
 
Posts: 1178
Joined: Tue Oct 23, 2012 12:59
GitHub: Dragonop
IRC: Dragonop
In-game: Dragonop

Re: Camera rotation bug.

by Dragonop » Fri Sep 04, 2015 23:23

You have Cinematic mode enabled maybe? Push F8 to enable/disable it.
 

Igor47
New member
 
Posts: 5
Joined: Fri Sep 04, 2015 19:50
In-game: Igor47

Re: Camera rotation bug.

by Igor47 » Sat Sep 05, 2015 04:28

No, cinematic mode is disabled. But it also occures during cinematic mode.
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: Camera rotation bug.

by rubenwardy » Sat Sep 05, 2015 08:06

It does sound like camera smoothing causes it. (Camera smoothing was added at the same time as cinematic mode).

What type of mouse do you use? Just a normal optical one?

At a guess I'd say there's a rounding error somewhere.
 

Igor47
New member
 
Posts: 5
Joined: Fri Sep 04, 2015 19:50
In-game: Igor47

Re: Camera rotation bug.

by Igor47 » Sat Sep 05, 2015 11:27

I am using normal optical mouse.
Is there way to disable camera smoothing?
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: Camera rotation bug.

by rubenwardy » Sat Sep 05, 2015 13:07

It should be disabled by default.

What fps do you get?
 

Igor47
New member
 
Posts: 5
Joined: Fri Sep 04, 2015 19:50
In-game: Igor47

Re: Camera rotation bug.

by Igor47 » Sat Sep 05, 2015 14:03

Are there any fixes?
Or should I wait for 0.4.14?
 

User avatar
rubenwardy
Member
 
Posts: 4500
Joined: Tue Jun 12, 2012 18:11
GitHub: rubenwardy
IRC: rubenwardy
In-game: rubenwardy

Re: Camera rotation bug.

by rubenwardy » Sat Sep 05, 2015 16:16

I can't fix it without some more info about why it works on my computer but not yours. When I make a fix, it should be in 0.4.14 or you would be able to get it by using a dev version.

What fps do you get? This is important as it effects how much the code is run per second.

I wrote the camera smoothing code, and was afaik the last person to touch this area.
 

Igor47
New member
 
Posts: 5
Joined: Fri Sep 04, 2015 19:50
In-game: Igor47

Re: Camera rotation bug.

by Igor47 » Sun Sep 06, 2015 08:28

FPS is another thingy I want to argue about. Like its really low and unstable on my laptop(specs above), and I guess it caused by continious loanding and unloading chunks.It ranges from 15 to 25 fps in jungle area.
Setting Min and Max render distances will stabilize fps alot, so it would be great to have that option in settings menu.
Using paramats Watershed mod , and generating custom terrain and equalizing min and max render distances, I get 60-50 fps.

EDIT:
I ACCIDENTALLY fixed that bug by messing around in registry.
I had a little issue with my touchpad. When I type or hold any button, cursor stops moving. So to disable that, I had to switch some values with regedit, and after I rebooted my laptop, I noticed that there is no more problems with rotation, and I am unable to reproduce the bug.
 

User avatar
benrob0329
Member
 
Posts: 1192
Joined: Thu Aug 06, 2015 22:39
GitHub: Benrob0329
In-game: benrob03

Re: Camera rotation bug.

by benrob0329 » Sun Sep 06, 2015 16:51

Minetest is undergoing some major performance improvements, so things should get better performance wise. Until then one thing you can do is use a LuaJIT build, that should help a lot with loading time and heavy mod like mobs redo.
 

User avatar
wilkgr76
Member
 
Posts: 680
Joined: Wed Feb 18, 2015 02:44
GitHub: wilkgr76
IRC: wilkgr
In-game: wilkgr

Re: Camera rotation bug.

by wilkgr76 » Tue Sep 08, 2015 04:16

Igor47 wrote:Hi everyone.
I just joined the forums, and my English suck, so I hope you'll understand everything I'll try to explain.

I played Minetest 0.4.12 on my laptop without any problems.
When I updated it to 0.4.13, I ran into a problem...
Whenever I move my mouse just a little bit, camera starts spinning slowly and endlessly in the direction I moved my mouse.
I searched some info about this bug previously, and the only solution I found was switching to fullscreen, but that does not help at all.
However, when I use touchpad, it runs flawlessly, but it is uncomfortable.

My specs:
Intel Core i7 4710HQ
Nvidia GeForce GTX 860m
8GB Ram
Windows 10

Try disabling the option "Improve pointer precision" in Windows mouse settings. Worked for me.
I do not care.
 


Return to Minetest Problems

Who is online

Users browsing this forum: No registered users and 12 guests

cron