Hi All, We currently have a number of aircraft which feature blackout and redout due to the G-force on the pilot.
Blackout occurs when the pilot is subject to high positive G-loading, as the blood is drained from the head. Red-out occurs when the pilot is subject to high negative G-loading, as extra blood pools in the head. The effects can be mitigated by tensing the muscles of the legs (for blackout) or wearing a G-suit. I've just committed a generic, configurable version which means that all aircraft now have G-force blackout, and the aircraft-specific versions can now be retired. As G-force affects all pilots, it seems appropriate to have a single solution for everyone as part of the core simulator, rather than only specific aircraft. Notes: 1) There is a G-force Options dialog under the View menu, which allows the user to enabled/disable blackout and set the G-force at which blackout and red-out occur, and are "complete" (i.e. the screen is completely black/red). 2) Whether or not blackout is enabled is controlled by /sim/rendering/redout/enabled. This is a userarchive property. The intention is that the user will configure this. 3) The points at which blackout/redout start and are complete are configured by the following properties: /sim/rendering/redout/blackout-onset /sim/rendering/redout/blackout-complete /sim/rendering/redout/redout-onset /sim/rendering/redout/redout-complete These are not userarchive. The intention is that aircraft designers can configure these appropriately to take into account the resilience of the pilot. For example, the default values are probably appropriate for a civilian pilot, while a military pilot in a G-suit will have a much higher tolerance. 4) The blackout/redout only occur within in-cockpit views (the view/internal property), so have no effect on chase or tower views. 5) The properties and dialogs are under "redout" as this is the name .cxx file and that implements the blackout/redout, and also the property which is used to control the current blackout/redout itself. Yes, we could change it to "blackout". 6) This is OSG only, so isn't applicable to the plib data branch. Comments are, as always, very welcome. -Stuart __________________________________________________________ Sent from Yahoo! Mail - a smarter inbox http://uk.mail.yahoo.com ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel