Gauge illumination problem

FSSC, Airport 2.*, CfgEdit, etc. Get to grips with designing Scenery & Panels here!

Gauge illumination problem

Postby f104g » Tue May 17, 2005 6:22 pm

Hi ..

I hope someone can help with my problem before I go crazy....

I am following Nick Pike's tutorial on VC gauge backlighting, and I am almost there it getting it working.

I use FSDSv2.... and I'm trying to resolve a problem I am having with back-lighting the gauges.

I have the VC Gauge planar polygon set up with the $texture inverted . The $texture is sitting in the texture folder and the panel.cfg has all of the necessary VC references listed for the gauges themselves. The $texture is a 256x256 white texture.

The texture is assigned to the planar polygon as $texture,A and is inverted.

In this first (night) screenshot, you can see the gauges are visible and working fine the VC panel.

panel shot with Lights off

Image

The instrment panel and the VC gauges are visible and working fine .. no problem there so far....

I have also created a lightmap texture with white areas on a black background to light up the gauges, inverted and saved in the texture folder and a dtx3 with alpha.

result is as follows:-

Lights On screenshot..

Image

The gauges are back-lighted... but the panel turns completely black,

I've missed doing something, or done something wrong .... can anyone please help ...

cheers
Last edited by f104g on Wed May 18, 2005 5:41 pm, edited 1 time in total.
User avatar
f104g
2nd Lieutenant
2nd Lieutenant
 
Posts: 87
Joined: Tue Oct 01, 2002 12:47 am

Re: Gauge illumination problem

Postby Katahu » Sat May 21, 2005 11:44 am

Did you remember to append the suffix *_l.bmp to the light map? Did you remember to convert the lightmap to 8-bits? Did you remember to place the $texture file in the Panel subfolder and NOT the Texture subfolder? Did you remember to link the lightmap to the visual model [you don't need to realign the map - it's done automatically]?

Sometimes, the little things can drive you nuts. ::)
User avatar
Katahu
Lieutenant Colonel
Lieutenant Colonel
 
Posts: 5993
Joined: Mon Jul 22, 2002 10:29 pm

Re: Gauge illumination problem

Postby f104g » Sun May 22, 2005 5:23 pm

finally I have managed to resolve the problem  !. The panel and gauge back-lighting is working fine now.  

My error was that the panel background texture in the PANEL folder was saved as a 32bit texture rather than a 24bit one.

Many thanks for your assistance and feedback...
User avatar
f104g
2nd Lieutenant
2nd Lieutenant
 
Posts: 87
Joined: Tue Oct 01, 2002 12:47 am

Re: Gauge illumination problem

Postby nickpike » Thu May 26, 2005 12:06 pm

Can I point out this was quite an old tutorial by me, and was tested on my aircraft with small spaces between the gauges. I have just released a new tutorial on VC gauge placement and background illumination that will not produce a black background, and keeps the VCockpit sections in the panel.cfg to 1 or 2 to optimise frame rates. It's new, and I would appreciate some feedback here or on my forum.
Nick Pike.
Image
FS2x.com
nickpike
Ground hog
Ground hog
 
Posts: 11
Joined: Wed May 25, 2005 6:48 pm
Location: UK


Return to Scenery & Panel Design

Who is online

Users browsing this forum: No registered users and 140 guests