Better preview mode

Feedback on past, current, and future development.
Post Reply
ptmikheev
Posts: 42
Joined: 01 Jun 2020, 21:05
Gitlab profile: https://gitlab.com/ptmikheev

Better preview mode

Post by ptmikheev » 24 Jun 2020, 23:34

I am working on an alternative for the preview mode.

Currently player can switch to preview mode by pressing TAB for half a second. Then camera jumps to the position from the previous preview.

I've removed the delay and the camera jump. It becomes almost the same as in Skyrim, but player should hold TAB instead of standing still. After releasing TAB the character turns to the direction of view.

See video.

What do you think?

User avatar
akortunov
Posts: 768
Joined: 13 Mar 2017, 13:49
Location: Samara, Russian Federation

Re: Better preview mode

Post by akortunov » 25 Jun 2020, 06:19

Not that important to be a part of upstream codebase, IMO.

User avatar
kust
Posts: 11
Joined: 10 Jan 2019, 14:06

Re: Better preview mode

Post by kust » 26 Jun 2020, 00:11

Pretty cool!
Followin' OpenMW's progress everyday since 2011.

ptmikheev
Posts: 42
Joined: 01 Jun 2020, 21:05
Gitlab profile: https://gitlab.com/ptmikheev

Re: Better preview mode

Post by ptmikheev » 27 Jun 2020, 15:22

The feature is ready for testing.

It is implemented on top of not yet merged !237, so I didn't create a new MR yet.

The code is in my experimental branch. To checkout use:

Code: Select all

git fetch "[email protected]:ptmikheev/openmw.git" "experimental"
git checkout -b "ptmikheev/openmw-experimental" FETCH_HEAD
Preview mode is changed in this commit.

Here are also my android debug builds.

To enable new features add to settings.cfg:

Code: Select all

[Camera]
view over shoulder = true
separate preview camera = false

# Optional. Places 3rd person camera closer to player. Useful on android.
default camera distance = 50

[Game]
turn to movement direction = true
How to use:
In 3rd person mode hold TAB and move mouse.
On android hold camera icon and rotate view.

I appreciate any feedback on the new preview mode (video example from the first post) and "auto switch shoulder" feature from !237 (video example).

silentthief
Posts: 438
Joined: 18 Apr 2013, 01:20
Location: Currently traversing the Ascadian Isles

Re: Better preview mode

Post by silentthief » 27 Jun 2020, 18:41

ptmikheev wrote:
27 Jun 2020, 15:22
I appreciate any feedback on the new preview mode (video example from the first post) and "auto switch shoulder" feature from !237 (video example).
Well, I haven't tested this feature but the video looks pretty cool. I like the idea of the shoulder switch in case you are too close to a wall or other obstruction. I logged in to give my thumbs up on this after viewing that video.

ST :thumbsup:
PS - The place to test this should be inside a cave, where the walls are close. I wanna see how it handles that kind of environment. (I really should get my setup set up so I can test this myself)
"You like to dance close to the fire, don't you?."

ptmikheev
Posts: 42
Joined: 01 Jun 2020, 21:05
Gitlab profile: https://gitlab.com/ptmikheev

Re: Better preview mode

Post by ptmikheev » 27 Jun 2020, 20:10

silentthief wrote:
27 Jun 2020, 18:41
PS - The place to test this should be inside a cave, where the walls are close. I wanna see how it handles that kind of environment. (I really should get my setup set up so I can test this myself)
It switches only if there is a lot of space from the other side. So if you see that in close environment it doesn't switch at all - it is intended behaviour. I think it is better than frequent and annoying switching back and forth.

ptmikheev
Posts: 42
Joined: 01 Jun 2020, 21:05
Gitlab profile: https://gitlab.com/ptmikheev

Re: Better preview mode

Post by ptmikheev » 15 Jul 2020, 01:18

Update.

Merge request 261.

Debug builds: windows, android. Linux users, I believe, can easily build it from source. Please try it and share your opinion!

Settings:

Code: Select all

[Camera]
separate preview camera = true  # current behavior (for comparison)
separate preview camera = false  # new behavior

# I recommend to test with "view over shoulder" enabled.
view over shoulder = true
If there are no objections, I plan to remove the setting "separate preview camera" and make the new behavior the default one.

Post Reply