Menu

#106 2D panel y-offset changes aspect-ratio

Fixed
nobody
2011-06-05
2010-03-14
Anonymous
No

Originally created by: gijsrooy
Originally owned by: gijsrooy

What steps will reproduce the problem?
1. Launch a 2D panel equipped plane, like the C-172P.
2. Open the 2D panel (Shift-P).
3. Move the panel around with F5, F6, F8 and F9 or by editing the
sim/panel/x-offset and y-offset properties.

What is the expected output? What do you see instead?
The panel should (and does) move over the screen. However,
the "background" view changes its aspect ratio. This is best noticeable
with a large x/y-offset.

Discussion

  • Anonymous

    Anonymous - 2010-12-12

    Originally posted by: gijsrooy

    Seems to be y-offset specific. No such behaviour is noticed when changing the x-offset. The change in aspect-ratio is very noticeable on the instruments at this picture (http://img258.imageshack.us/img258/7255/fgfsscreen033.png).

    That is with Git from December 6.

    Summary: 2D panel y-offset changes aspect-ratio

     
  • Anonymous

    Anonymous - 2011-05-22

    Originally posted by: bre... (code.google.com)@gmail.com

    "avoid expiring external links, e.g. imageshack, pastebin etc" :-)
    The screen shot on imageshack is gone now... :-(

     
  • Anonymous

    Anonymous - 2011-05-22

    Originally posted by: gijsrooy

    Hm, wasn't December the time that we reached our upload-limit? :)

    As you can see on the pictures, moving the 2D panel (left bottom on first pic) up/down changes the aspect-ratio of the background/main view. Moving it left/right does not show that behaviour.

    This is also observed on "ordinary" 2D panels, like the c172p' default.

     
  • Anonymous

    Anonymous - 2011-05-22

    Originally posted by: bre... (code.google.com)@gmail.com

    That's a bug of the 747. The 747-400 uses a modern "virtual-cockpit" - so it's main panel isn't 2D. But it didn't enable "/sim/virtual-cockpit" - hence it's main panel is treated as a 2D panel...
    Fixed by:
    https://www.gitorious.org/fg/fgdata/commit/284c59122884615ba1a36eaa393c529f5da3e0ff

    Gijs: can you test this? And please contact the a/c designer. hehehe... ;-)

    Status: Testing

     
  • Anonymous

    Anonymous - 2011-05-22

    Originally posted by: bre... (code.google.com)@gmail.com

    Ok, the same issue affects real 2D cockpits, like "c172p-2dpanel" - which of course does not enable "virtual-cockpit". Since this switch won't be enabled for such cockpits, it seems the switch is no longer necessary / should always be enabled.
    => Remove the code changing aspect-ratio - doesn't seem to make sense for OSG:
    https://www.gitorious.org/fg/flightgear/commit/51bb633e5571f459af452e74757a9d8edfdc2aae

     
  • Anonymous

    Anonymous - 2011-05-24

    Originally posted by: bre... (code.google.com)@gmail.com

    (No comment was entered for this change.)

    Status: Fixed

     
  • Anonymous

    Anonymous - 2011-06-05

    Originally posted by: bre... (code.google.com)@gmail.com

    (No comment was entered for this change.)

    Status: Temp

     
  • Anonymous

    Anonymous - 2011-06-05

    Originally posted by: bre... (code.google.com)@gmail.com

    (No comment was entered for this change.)

    Status: Fixed

     

Log in to post a comment.

MongoDB Logo MongoDB