Board index FlightGear Development Effects and shaders

ALS Lights follow view?

An exciting "new" option in FlightGear, that includes reflections, lightmaps, the particle system etc.. A lot is yet to be discovered/implemented!

Re: ALS Lights follow view?

Postby Octal450 » Wed Nov 08, 2017 2:00 pm

So, it can't be disabled, then enabled again from inside?

J
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: ALS Lights follow view?

Postby Thorsten » Wed Nov 08, 2017 2:11 pm

Sure - but that's up to you to code (note that things like a searchlight or so might still make sense from external view, and there's internal views from which the projection does not work, so there's nothing done automatically).

The C-172p has a solution which switches techniques (secondary light to lightspot) when going to external views - you may want to adopt that (or may want to wait for Richard's scheme to materialize, which will make the math of that easier).
Thorsten
 
Posts: 12490
Joined: Mon Nov 02, 2009 9:33 am

Re: ALS Lights follow view?

Postby Octal450 » Wed Nov 08, 2017 3:55 pm

Ok, awesome.

If you note that the light doesn't appear again until the view is moved from the interior. Is it on a setlistener that I can trigger to make it appear right away?

J
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: ALS Lights follow view?

Postby Thorsten » Wed Nov 08, 2017 3:57 pm

I'm not sure what is going on there, you're the first to report this, I've never seen it myself.

It might fix itself by triggering a re-apply of the state when you automatically switch it off in outside view...
Thorsten
 
Posts: 12490
Joined: Mon Nov 02, 2009 9:33 am

Re: ALS Lights follow view?

Postby Octal450 » Wed Nov 08, 2017 4:06 pm

OK. I'll try it out.

Kind Regards,
Josh
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

Previous

Return to Effects and shaders

Who is online

Users browsing this forum: No registered users and 10 guests