Skip to content
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

Implement Free Look and Zoom in Cabin View #92

Merged
merged 2 commits into from
Aug 27, 2021

Conversation

DasCapschen
Copy link
Member

See Issue #87 , this implements a free moving camera in the cabin view and zooming.

Changes:

  • CameraState is an Enum now
  • use clamp() instead of if > elif <
  • always set mouse mode to captured
  • camera rotation in cabin view
  • camera zoom (field of view) in cabin view

Known Issues:

  • Mouse is visible in Grey Train, but not in Red Train

@Jean28518
Copy link
Member

Thank you very much! I will review the changes in the next days.

I will concentrate on #87 after I finished #86

@Jean28518 Jean28518 linked an issue Aug 20, 2021 that may be closed by this pull request
@Jean28518 Jean28518 added the enhancement New feature or request label Aug 20, 2021
@Jean28518
Copy link
Member

Thanks :)

@Jean28518 Jean28518 merged commit 53e66e7 into Libre-TrainSim:master Aug 27, 2021
@Jean28518 Jean28518 added this to In progress in v0.9 (Old) via automation Aug 27, 2021
@Jean28518 Jean28518 moved this from In progress to Done in v0.9 (Old) Aug 27, 2021
@DasCapschen DasCapschen deleted the free_look branch September 2, 2021 10:10
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
No open projects
v0.9 (Old)
  
Done
Development

Successfully merging this pull request may close these issues.

Add Free Moving Camera in Cockpit with selectable controls
2 participants