f3d-app / f3d

Fast and minimalist 3D viewer.
https://f3d.app
BSD 3-Clause "New" or "Revised" License
2.93k stars 215 forks source link

Add shortcut to rotate camera by 90degrees #14

Open mwestphal opened 3 years ago

mwestphal commented 3 years ago

a bit more info here: https://gitlab.kitware.com/f3d/f3d/-/issues/144

lknknm commented 1 year ago

Hello! As stated on Discord, I'm currently tackling this issue.

mwestphal commented 7 months ago

@Meakk @lknknm : I'll improve this issue, i just want to make sure I get it right.

The idea is to have a bindings to change the --up direction ? is that correct ? Being able to switch to +X or -X by pressing a combination of keys.

lknknm commented 7 months ago

@Meakk @lknknm : I'll improve this issue, i just want to make sure I get it right.

The idea is to have a bindings to change the --up direction ? is that correct ? Being able to switch to +X or -X by pressing a combination of keys.

I don't know if it was the intended direction of the original issue, but in my view, we could implement the 90° rotation shortcut as described in another issue I've opened here: https://github.com/f3d-app/f3d/issues/886#issuecomment-1629534293

For what I understand of the original issue from Gitlab, I think they want a hotkey to change the z-up on the flight if it's not matching right with F3D, by rotating it 90°, hence the model being "up". The combination of keys could be something like Ctrl+8 or Alt+8 (Modifier + "Top" view hotkey).

dk1242 commented 2 months ago

Hello, I want to work on this issue.

mwestphal commented 4 weeks ago

@dk1242 any news on this ?

mwestphal commented 3 weeks ago

no feedback, opening to contribution