Board index FlightGear Development Effects and shaders

ALS Lightspot and LightManager

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

ALS Lightspot and LightManager

Postby Octal450 » Sat Jul 11, 2020 2:12 pm

Hi,
Currently I am using this light manager nasal to make the lightspots be in the right place after eyepoints are adjusted.

But its inefficient code and lags behind the mouse a bit. I'm wondering, would it not be simpler to have this done by C++ and expose the config to the property tree? This way the lightspots can be managed natively and just some config in -set to control its params.

Thoughts?
Josh
What I do: Flight Dynamics, Systems, Canvas Displays, Autoflight, FlyByWire, Cockpit Animations
Aircraft I currently develop: MD-11 (Mainly), Secret, A320-family (Quality over Quantity)

My GitHub|MD-11 and ITAF Dev Discord|Airbus Dev Discord
User avatar
Octal450
 
Posts: 4643
Joined: Tue Oct 06, 2015 12:51 pm
Callsign: WTF411/Octal
Version: next
OS: Windows 10 x64

Re: ALS Lightspot and LightManager

Postby Thorsten » Sat Jul 11, 2020 2:50 pm

The compositor is going to give you a better light implementation anyway, so I would not waste any time adding to the C++ codebase at this point.

(You can replace Nasal by property rules if you like them better - that gives you a C++ implementation just as well).
Thorsten
 
Posts: 11649
Joined: Mon Nov 02, 2009 8:33 am


Return to Effects and shaders

Who is online

Users browsing this forum: Applebot [Bot] and 1 guest