Jump to content
Sign in to follow this  
n4gix

VC Illuminated Gauges

Recommended Posts

Hi all, anyone overcome the problem yet with the gauge planer showing up black with the lightmap applied (I'm using FSDS)?I know of the ways to work round this, but overcoming this problem will make things a lot easier.Nick.

Share this post


Link to post
Share on other sites

>Hi all, anyone overcome the problem yet with the gauge planer>showing up black with the lightmap applied (I'm using FSDS)?>I know of the ways to work round this, but overcoming this>problem will make things a lot easier.>>Nick.Nick, that problem was "solved" almost a year ago and reported in my VC Gauge Lighting tutorial.There are at least four ways to eliminate the 'black poly effect.'1) Hide it by using a bitmap in the panel.cfg entry://--------------------------------------------------------[Vcockpit01]file=vc_main_left.bmp :)3) Same as #1 above, except no bitmap to hide 'black effect.' Instead, cut "gauge shaped holes" in the textured panel, place the projection polygons BEHIND the swiss-cheesed panel... :)4) Same as you are doing now, except "fold" the edges of the polygon so they can't be seen (frankly, I don't see too much benefit here, but it IS a way...) )


Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Share this post


Link to post
Share on other sites

Many thanks for the reply Bill. Yes I am familiar with these methods. I was hoping to use a small number of rectangular planars to place my gauges on, even if the planar polygons were overhanging the panel edges. These would be easy to work with and make the co-ordinates a doddle. If the unwanted colours (say black) in the lightmap could be made to be transparent, then this would solve the problem. At present, I am overcoming the problem using individual polygon planers for each gauge. Saves trying to match planer bitmaps to the main panel bitmap. I was concerned about framerates using lots of individual polygons, but this does not seem to be a problem.Thanks again,Nick.

Share this post


Link to post
Share on other sites

Here is how I'm doing the CJ1's panel. All of the gauges except the "glass PFD & MFD" displays, and the radio are in one, single texture group. All the polys are "Attached" to form one object.The first pic shows the polys as they are laid out on the vc, the second picture is how the gauges are "mapped" to the $vc_main.bmp texture.This technique is drop-dead easy, and completely eliminates the "black background" when the gauges are lighted... :)Even better though, is that all gauges that are "duplicated," such as the Audio Panel, the Master Warning & Master Caution, and the PFD control use only ONE INSTANCE OF THE GAUGE. Since the second instance is simply a copy of the original (they are overlaid during mapping!)... :)One of the two "sealed beam lights" is used four times in the cockpit, and the other is used EIGHT times in the cabin... THAT is efficient! BTW, the background showing is the "lightmask" overlaid on a temporary image used only for layout purposes.http://forums.avsim.net/user_files/93538.jpghttp://forums.avsim.net/user_files/93539.jpg


Fr. Bill    

AOPA Member: 07141481 AARP Member: 3209010556


     Avsim Board of Directors | Avsim Forums Moderator

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Tom Allensworth,
    Founder of AVSIM Online


  • Flight Simulation's Premier Resource!

    AVSIM is a free service to the flight simulation community. AVSIM is staffed completely by volunteers and all funds donated to AVSIM go directly back to supporting the community. Your donation here helps to pay our bandwidth costs, emergency funding, and other general costs that crop up from time to time. Thank you for your support!

    Click here for more information and to see all donations year to date.
×
×
  • Create New...