New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Core / VideoCommon / DolphinQt - allow tweaking freelook camera's field of view #8820
Conversation
dd1cd01
to
1d43e2f
Compare
|
@DerKoun - is this what you were wanting? Please let me know |
1d43e2f
to
2d193af
Compare
Yes, it's exactly what I meant. Thanks for implementing it. (You spared a poor Java guy 2-3 circles of hell figuring it all out.) If I may add some thoughts on the UI side:
Use cases I can think of are:
|
|
Gave this a try! First of all, it works as advertised. It changes the view FoV very nicely! But I have two notes. Shift-R doesn't reset the FoV. That's REALLY needed! Everything should be reset too default when pressing reset! There needs to be a set of hotkeys for FoV in and out. Personally, I'd suggest having both X and Y mapped to the same default buttons, so that it changes the FoV in and out without distorting the image. That is the most common use case that I can imagine, and it's less buttons to fuss with, so I think that's a sensible default. I certainly won't be using it in any other way! So with that in mind, I suggest shift+mousewheel as the default, as that would work really well, imo. And of course it needs to be in the hotkeys panel and what not, and to be able to separate them in hotkeys if someone wants that. |
7166a95
to
e620eb5
Compare
|
@MayImilae / @DerKoun - thank you so much for your feedback. I removed the configuration (that's why you couldn't reset FoV previously) and made the values entirely based around hotkeys. This will help with something I'm planning on for later. So now FoV can be reset and can be increased/decreased with scroll-wheel + SHIFT like @MayImilae suggested. Please let me know if you see any other concerns. |
|
Gave this another look over! Here's a few notes. First of all, I had to reset my hotkeys to default to get the shift+scroll wheel shortcut for FoV. I don't believe there is anything we can do about that but that is definitely something I'll need to mention in the Progress Report so this is kind of my reminder. Now to a real note. :P The "Freelook Increase Speed" and "Freelook Decrease Speed" buttons have no effect on FoV. That's something that should be changed, as by default it is HELLA sensitive and would greatly benefit from being able to make it slow down a bit. So the sensitivity by default is much too high on the hotkeys when enlarging the FoV ("zooming out"). Just three clicks on my scroll wheel is enough to max it out. That's way WAY too sensitive! Fortunately tightening FoV ("zooming in") isn't so sensitive, but yea, something needs to be adjusted there! Reset works! So yea, all in all, just sensitivity adjustment for the hotkeys and applying the speed increase/decrease effects so finer control is easier. With that it should be good to go! Note: Changing the mouse scroll speed does not have any effect on the FoV adjustment speed with the hotkeys. I didn't think it would but I would have felt really dumb if I didn't check it and that turned out to be a factor, so um, I checked it. |
|
@MayImilae - thank you for taking another look! I did think about your suggestion during implementation (increasing via speed modifier) but I didn't really like it. Personally, speed should be for movement, it makes no sense for speed to effect FoV. Additionally, I could see users wanting a different movement rate compared to their field of view. If the FoV modifier is a blocker then I see a couple of general solutions to this:
My personal take would be to add a new tab for FoV. Then add the increase/decrease/reset buttons under a "rate of change" section. Once 8867 gets merged, I can add UI that allows for more direct control. Of course I could see just waiting on this until 8867 gets merged, then things can be done in a more clean manner. |
|
While having the increase and decrease speed function for FoV would be nice, it's not really necessary, especially if you want to implement it in some other way in the future. My only real issue with this PR right now is that enlarging the FoV ("zooming out") via hotkeys is so extreme it's basically useless. So maybe adjust it so that enlarging the FoV has finer control with the hotkey, and we can call it? |
|
@MayImilae - I agree with you, I modified the step size to be small,er let me know if you think it feels better? Also, it's a bit silly but one of my new favorite things is playing Mario Kart "zoomed out" (or at least pretty far) and then move the camera in. Things look far away initially but quickly jump into your view. Kinda feels like I'm playing f-zero :P |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh that is so much better. Alright, with that, LGTM!
dde1a54
to
bf1fcd9
Compare
bf1fcd9
to
bb65827
Compare
|
I can't think of a reasonable use case for separate x/y values and having both impacts the ease of configuring the common case where the user wants them to be the same. |
|
@Tilka - I see what you mean but also don't think this solution is very bad either? It's 4 hotkeys instead of 2 and we default to the same button (middle mouse wheel) and until #8747 is merged, I doubt users would change it. It's hard to say how users will use this. One potential reason is ultrawide monitors. I don't own one so I can't say how it'd look on that type of display but I don't think options are a bad thing. |
In one of my other PRs a user wanted to be able to modify the freelook field of view. I figured...why not?
The uses are likely rather niche but:
I didn't expose the near/far planes.