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 3: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
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 Lightspot and LightManager

Postby Thorsten » Sat Jul 11, 2020 3: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: 12490
Joined: Mon Nov 02, 2009 9:33 am


Return to Effects and shaders

Who is online

Users browsing this forum: No registered users and 1 guest