Board index FlightGear Development New features

Alternative camera control

Discussion and requests for new features. Please note that FlightGear developers are volunteers and may or may not be able to consider these requests.

Re: Alternative camera control

Postby benih » Sat Dec 12, 2020 11:52 pm

I took some time today to code something up to address the issues i opened: https://github.com/hbeni/flightgear-add ... e/fixViews
As far as my tests are concerned, it looks good, but further testing would be good.

Maybe we should also consider to rewrite the wiki article and "move" the main development repo over to your github location, so we get an easy to share common location for collaboration.
User avatar
benih
 
Posts: 1689
Joined: Tue Aug 15, 2017 10:34 am
Callsign: D-EBHX
Version: next
OS: Debian Linux 64bit

Re: Alternative camera control

Postby slawekmikula » Tue Dec 29, 2020 10:14 pm

benih wrote in Sat Dec 12, 2020 11:52 pm:I took some time today to code something up to address the issues i opened: https://github.com/hbeni/flightgear-add ... e/fixViews
As far as my tests are concerned, it looks good, but further testing would be good. Maybe we should also consider to rewrite the wiki article and "move" the main development repo over to your github location, so we get an easy to share common location for collaboration.


Just for reference We (I and benih) merged the changes into "main" repo and provide additional features/cleanup. Simple documentation is written there also.

Repository: https://github.com/slawekmikula/flightg ... era/issues
Current issues/tasks: https://github.com/slawekmikula/flightg ... era/issues
Manual: https://github.com/slawekmikula/flightg ... /manual.md
Changes: https://github.com/slawekmikula/flightg ... its/master

Wiki AddonPage (http://wiki.flightgear.org/Addon) also has reference to this links.
slawekmikula
 
Posts: 128
Joined: Sun Feb 19, 2017 10:31 am

Re: Alternative camera control

Postby Mohamed » Wed Feb 24, 2021 4:59 pm

so i read the thread and didn't find the answer for these 2 questions:
what are the recommended settings for the A320 ?
and is it possible to have this effect ? (look at the view when he is braking at 3min 25)
https://www.youtube.com/watch?v=nVBwjUPRIOg&t=195s

thx in advance :D
Mohamed
 
Posts: 76
Joined: Tue Aug 25, 2020 5:04 pm
Location: Casablanca, Morocco
Version: 2020.3.6

Re: Alternative camera control

Postby Maerchenprinz » Thu Feb 25, 2021 2:27 pm

Hi!

Regarding question Nr.2: I'm pretty sure that there is already an option somewhere in the "View" menu called "Head movement due to Gs" or something; as far as I remember, it is not that extreme as in the video (like *with* neck muscles...)

Ciao,

Adrian
User avatar
Maerchenprinz
 
Posts: 306
Joined: Thu Mar 15, 2007 6:24 pm
Location: Bochum, it's better, much better than you think!
Callsign: Adrian

Re: Alternative camera control

Postby benih » Thu Feb 25, 2021 2:56 pm

Its in the "Cockpit View Options".
The option there is called "Enable View Movement due to G-Forces".
The "Effect rate" slider lets you adjust the amount of movement.

Additionally, since December or so, you can also activate a ground shake effect in the same menu there, that shakes the view depending on the surface roughness.
User avatar
benih
 
Posts: 1689
Joined: Tue Aug 15, 2017 10:34 am
Callsign: D-EBHX
Version: next
OS: Debian Linux 64bit

Re: Alternative camera control

Postby Maerchenprinz » Thu Feb 25, 2021 3:03 pm

Ah, yeah, that's where it is and what it's called. Thanks, benih, for clarifying this! At least I remembered around one-fifth correctly :roll:
User avatar
Maerchenprinz
 
Posts: 306
Joined: Thu Mar 15, 2007 6:24 pm
Location: Bochum, it's better, much better than you think!
Callsign: Adrian

Re: Alternative camera control

Postby cgdae » Thu Feb 25, 2021 4:08 pm

I'm not sure that "Enable View Movement due to G-Forces" is doing the same as what is demonstrated in the video.

It only seems to respond to vertical g forces, not forwards/backwards or sideways forces. See the code in fgdata:Nasal/redout.nas, where it's only modifying /sim/current-view/y-offset-m (which affects vertical position) in response to /accelerations/pilot-gdamped?
cgdae
 
Posts: 117
Joined: Tue May 31, 2016 8:35 pm

Re: Alternative camera control

Postby benih » Thu Feb 25, 2021 4:58 pm

Yes, Stuart just modelled the up/down force so far.
User avatar
benih
 
Posts: 1689
Joined: Tue Aug 15, 2017 10:34 am
Callsign: D-EBHX
Version: next
OS: Debian Linux 64bit

Re: Alternative camera control

Postby Mohamed » Thu Feb 25, 2021 6:03 pm

thx for your help
Mohamed
 
Posts: 76
Joined: Tue Aug 25, 2020 5:04 pm
Location: Casablanca, Morocco
Version: 2020.3.6

Re: Alternative camera control

Postby PlayeRom » Sat Jan 07, 2023 9:45 pm

It's been a long time since anything happened here, but I'm refreshing the thread as I've made improvements for the add-on in the 1.2.x version line.

I also updated the wiki: https://wiki.flightgear.org/FGCamera
Repo: https://github.com/PlayeRom/flightgear-addon-fgcamera

Changes:

  1. add mini-dialogs to toggle cameras and categories,
  2. add option to user 0-9 keys with Ctrl to possibility control the aircraft,
  3. add options to mini-dialogs,
  4. add smooth FOV changes when transitioning between cameras with different FOVs,
  5. add confirmation dialog for delete camera,
  6. fix selecting default FGCamera on startup,
  7. fix inputs for save changes immediately after click save/store button without the needed for change focus first,
  8. others small GUI improvements,
My SP-ROM YT channel
PlayeRom
 
Posts: 96
Joined: Tue Oct 20, 2020 1:22 pm
Location: Poland
Callsign: SP-ROM
OS: Linux, Windows

Re: Alternative camera control

Postby slawekmikula » Sun Jan 08, 2023 10:05 pm

Thank you very much for taking over the development ! Great changes. Thanks again.
slawekmikula
 
Posts: 128
Joined: Sun Feb 19, 2017 10:31 am

Re: Alternative camera control

Postby Isaak » Thu Feb 09, 2023 7:26 am

Hi PlayeRom, I'm using your updated version of FGcamera: you've made some very good improvements! I only have one issue: the 'fgcamera has been updated' prompt appears every time I start the sim, even while I have checked the 'do not show this again' box. I'm happy to look into the cause of this issue, but haven't done so yet. Are you aware of this issue or is this something at my side?
Want to support medical research with your pc? Start Folding at Home and join team FlightGear!
Isaak
 
Posts: 768
Joined: Sat Jun 04, 2011 3:52 pm
Location: Hamme, Belgium
Pronouns: he, him
Callsign: OO-ISA
Version: next
OS: Windows 10

Re: Alternative camera control

Postby Johan G » Tue Feb 14, 2023 10:11 pm

For those familiar with Git, it might be helpful to clone the repository instead of downloading and unpacking a Zip file. Updating would be no more than a "git pull".

To clone it into a specific directory (empty or non existent)
Code: Select all
git clone <repository> <directory>

For example
Code: Select all
git clone https://github.com/PlayeRom/flightgear-addon-fgcamera.git FGCamera
Low-level flying — It's all fun and games till someone looses an engine. (Paraphrased from a YouTube video)
Improving the Dassault Mirage F1 (Wiki, Forum, GitLab. Work in slow progress)
Some YouTube videos
Johan G
Moderator
 
Posts: 6629
Joined: Fri Aug 06, 2010 6:33 pm
Location: Sweden
Callsign: SE-JG
IRC name: Johan_G
Version: 2020.3.4
OS: Windows 10, 64 bit

Re: Alternative camera control

Postby rominet » Wed Feb 15, 2023 1:01 am

Agreed, but I'd suggest to use something like FGCamera.git as the final argument to make it clear that it contains a Git repository when you browse the containing folder in, say, 2 or 3 years (Git repositories contain metadata and history, so we don't want to lose the associated benefits just because we forgot it was a repo!).
rominet
 
Posts: 605
Joined: Sat Nov 01, 2014 2:33 pm
Callsign: F-KATS
Version: Git next
OS: Debian GNU/Linux

Re: Alternative camera control

Postby portreekid » Wed Feb 15, 2023 9:58 am

I solve that by all my repos being in C:\GIT or ~/GIT.
portreekid
 
Posts: 651
Joined: Tue Jan 14, 2014 4:36 pm
Location: Leipzig
Callsign: PORTREE
Version: 2020.2.1
OS: Windows 10

PreviousNext

Return to New features

Who is online

Users browsing this forum: No registered users and 3 guests