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 it0uchpods » Wed Nov 08, 2017 1:00 pm

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

J
it0uchpods/WTF411

Do not expect immediate responses. I do not log in often. I do not answer PMs from non-admins.
I only monitor IDG Development and Support Threads. Everything else is ignored.
Download High Quality Aircraft from it0uchpods Hanger
User avatar
it0uchpods
 
Posts: 3344
Joined: Tue Oct 06, 2015 12:51 pm
Version: 2018.2.1
OS: Windows 8.1 x64

Re: ALS Lights follow view?

Postby Thorsten » Wed Nov 08, 2017 1: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: 9530
Joined: Mon Nov 02, 2009 8:33 am

Re: ALS Lights follow view?

Postby it0uchpods » Wed Nov 08, 2017 2: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
it0uchpods/WTF411

Do not expect immediate responses. I do not log in often. I do not answer PMs from non-admins.
I only monitor IDG Development and Support Threads. Everything else is ignored.
Download High Quality Aircraft from it0uchpods Hanger
User avatar
it0uchpods
 
Posts: 3344
Joined: Tue Oct 06, 2015 12:51 pm
Version: 2018.2.1
OS: Windows 8.1 x64

Re: ALS Lights follow view?

Postby Thorsten » Wed Nov 08, 2017 2: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: 9530
Joined: Mon Nov 02, 2009 8:33 am

Re: ALS Lights follow view?

Postby it0uchpods » Wed Nov 08, 2017 3:06 pm

OK. I'll try it out.

Kind Regards,
Josh
it0uchpods/WTF411

Do not expect immediate responses. I do not log in often. I do not answer PMs from non-admins.
I only monitor IDG Development and Support Threads. Everything else is ignored.
Download High Quality Aircraft from it0uchpods Hanger
User avatar
it0uchpods
 
Posts: 3344
Joined: Tue Oct 06, 2015 12:51 pm
Version: 2018.2.1
OS: Windows 8.1 x64

Previous

Return to Effects and shaders

Who is online

Users browsing this forum: No registered users and 1 guest