When I first saw Andy's patch for mapping 2D panels in 3D cockpits, the first thing I thought of was doing this. In the P51-D I'm setting up hotspots for the 3D instruments using the 2D panel format.
Basically I've just setup a panel with one big single layer 2D "Instrument" that is 1024 x 1024. The "plane" of this layer is made large enough to cover the entire control area by adjusting the 3D mapping coordinates (see Aircraft/p51d/Models/p51d-jw.xml). And I made up a cartesian grid texture to simplify calculating the hotspot (action) coordinates that are entered in p51d-jw-panel-hotspots.xml. Here is a screen shot (note the yellow boxed hotspots): http://www.spiderbark.com/fgfs/p51dshot11.png Without the grid it looks like this. http://www.spiderbark.com/fgfs/p51dshot12.png Right now I'm turning the grid on and off by commenting and uncommenting the "texture" path in the hotspots config file. Currently I've just enabled the gyro compass knob and the altitude indicator adjustment. It might be useful to modify the panel code to accept a special type of panel object for this purpose, just to simplify the configuration, and standardize how a full 3-D panel would be configured. Best, Jim _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
