Re: [Flightgear-devel] C172P Panel now hacked

2004-12-19 Thread Roy Vegard Ovesen
On Sunday 19 December 2004 02:08, Dave Martin wrote:
 I've done most of what I intended with the 172P now except for the
 landing/taxi lights on the wing (I'm having to learn a lot to get something
 looking good).

 I wanted everything to 'just work' so I re-added the alpha-layers to the
 textures which were transparent (you could see the panel thru the wings,
 seats, tail etc). Also added back the flap textures so you now see the
 ribs.

 In doing the interior texture I discovered that due to the panel sharing a
 texture with the interior, adding the alpha back made the panel invisible.

 So, I duplicated the interior texture with no alpha and applied that to
 just the panel and then applied the second texture to the interior with the
 alpha - This works fine, now the controls do not show the instruments
 behind. However - this is a bit of a 'hack' - is it acceptable?

I guess that it's acceptable for now, but the proper thing to do would be to 
rearrange the object hierarchy so that they get drawn in the right order. I 
tried to do this, but it seems that you can not reference the included 2d 
panel by it's name tag.

When you start up with the default C172 you get a warning that 
PanelInstruments and ControlsGroup objects are not found. 
PanelInstruments is of course the 2d panel, but when it's later used to 
group objects together it can not be found.

Maybe it's time to make 3d instruments for the C172 instead of using the 2d 
panel hack?

 Also, I've reworked the panel instrument locations and controls so they are
 now proportionally correct compared to a real 172.

Looking forward to try it out ;-)

-- 
Roy Vegard Ovesen

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d


[Flightgear-devel] C172P Panel now hacked

2004-12-18 Thread Dave Martin
I've done most of what I intended with the 172P now except for the 
landing/taxi lights on the wing (I'm having to learn a lot to get something 
looking good).

I wanted everything to 'just work' so I re-added the alpha-layers to the 
textures which were transparent (you could see the panel thru the wings, 
seats, tail etc). Also added back the flap textures so you now see the ribs.

In doing the interior texture I discovered that due to the panel sharing a 
texture with the interior, adding the alpha back made the panel invisible.

So, I duplicated the interior texture with no alpha and applied that to just 
the panel and then applied the second texture to the interior with the alpha 
- This works fine, now the controls do not show the instruments behind. 
However - this is a bit of a 'hack' - is it acceptable?

Also, I've reworked the panel instrument locations and controls so they are 
now proportionally correct compared to a real 172.

___
Flightgear-devel mailing list
[EMAIL PROTECTED]
http://mail.flightgear.org/mailman/listinfo/flightgear-devel
2f585eeea02e2c79d7b1d8c4963bae2d