Board index FlightGear Development Aircraft Autopilot and route manager

747-8 TCAS Display

Designing a stable autopilot is one of the hardest things. Need help?

Re: 747-8 TCAS Display

Postby Thorsten » Thu May 19, 2016 10:06 am

Lightmaps should work under Rembrandt as well, there's no specific need for action, if they utilize model-combined-deferred.eff (that's the only one that works in ALS) they're also defined in the other frameworks.

The windows are greyed out because Rembrandt expects you to tell it about all transparent surfaces - model-combined-transparent.eff or glass.eff will do this automatically.
Thorsten
 
Posts: 12490
Joined: Mon Nov 02, 2009 9:33 am

Re: 747-8 TCAS Display

Postby tikibar » Thu May 19, 2016 6:04 pm

Thanks for chiming in, Thorsten. I thought you might have some insight. The exterior lighting is using the old lightmap effect, which was working fine in ALS in 3.7 (which was current when I set it up). I do plan to move to model-combined in the near future. Has support for the lightmap effect disappeared now?

@swwon, would you mind posting a screenshot of the exterior with AC power on and the wing and logo lights on?
Boeing 747-8 (rename folder to 747-8i)
Boeing 757-200/300 (rename folder to 757-200)
Boeing 767-300/ER (rename folder to 767-300)
User avatar
tikibar
 
Posts: 545
Joined: Mon Mar 05, 2012 7:05 am
Location: Los Angeles
Callsign: CHT0009
OS: Ubuntu 14.04

Re: 747-8 TCAS Display

Postby Thorsten » Thu May 19, 2016 6:16 pm

There... um... wasn't ever any 'just lightmap' supported under ALS. It's a legacy effect of the classic renderer.

It probably worked because it's not explicitly disabled, but you would never get correct fogging for the surfaces, neither would you get consistent light and dusk/dawn (it would always look too red). Which may not be very prominent, because you rarely look at your own aircraft from a distance that fog matters, and the lights of the lightmap would mask the wrong sunlight color.

I don't know how the old lightmap is written, but it's possible that it requires a minimum model shader quality selection to come on.
Thorsten
 
Posts: 12490
Joined: Mon Nov 02, 2009 9:33 am

Re: 747-8 TCAS Display

Postby tikibar » Thu May 19, 2016 8:51 pm

Yeah... I used an old aircraft as an example on how to do lights in that way (the ATR-72, I think). I learned about model-combined later and did that on the 757. I always have the model shader at max, so if there's any restriction there I wouldn't have noticed. In any case, when I move it to model-combined, it will all be more modern anyway, and I'll be able to fix some other workarounds I was never too happy with. Does the model-combined effect have a minimum model shader level?
Boeing 747-8 (rename folder to 747-8i)
Boeing 757-200/300 (rename folder to 757-200)
Boeing 767-300/ER (rename folder to 767-300)
User avatar
tikibar
 
Posts: 545
Joined: Mon Mar 05, 2012 7:05 am
Location: Los Angeles
Callsign: CHT0009
OS: Ubuntu 14.04

Re: 747-8 TCAS Display

Postby Thorsten » Fri May 20, 2016 5:46 am

I think model-combined.eff comes on at quality level 1 ( 0 uses model-default.eff instead) and gradually activates the different goodies (normal map, dirt map, specular map,...) at higher quality levels.
Thorsten
 
Posts: 12490
Joined: Mon Nov 02, 2009 9:33 am

Re: 747-8 TCAS Display

Postby Octal450 » Fri May 20, 2016 11:47 am

I made the MD-88 and MD-90 Rembrandt compatible not long ago, I wish I remembered how I did that... I have not tested it with ALS.
Skillset: JSBsim Flight Dynamics, Systems, Canvas, Autoflight/Control, Instrumentation, Animations
Aircraft: A320-family, MD-11, MD-80, Contribs in a few others

Octal450's GitHub|Launcher Catalog
|Airbus Dev Discord|Octal450 Hangar Dev Discord
User avatar
Octal450
 
Posts: 5583
Joined: Tue Oct 06, 2015 1:51 pm
Location: Huntsville, AL
Callsign: WTF411
Version: next
OS: Windows 11

Re: 747-8 TCAS Display

Postby Thorsten » Fri May 20, 2016 1:04 pm

Using model-combined-deferred.eff for every surface except the transparent ones and model-combined-transparent.eff or glass.eff for the transparent ones will do that automatically - we aim to keep these effects compatible across all three rendering frameworks.

(if you're using normal maps, you need to generate tangents and binormals and append them to all three relevant techniques as well - wanted to mention this just in case).

There's extra goodies for Rembrandt (lights) as well as for ALS (transparent shadows, caustics, irradiance maps,...) which you can use in addition and which are framework-specific, but the main issue for compatibility is using the above effects.
Thorsten
 
Posts: 12490
Joined: Mon Nov 02, 2009 9:33 am

Previous

Return to Autopilot and route manager

Who is online

Users browsing this forum: No registered users and 0 guests