|
From: Thorsten R. <tho...@sc...> - 2018-05-20 06:05:09
|
> is there a library for stuff like this in FGDATA already? If not, do > you intend to put your canvas code into a lib that can be reused? > As I am working on a PFD I would be interested to use such a lib. No, there's no library, and yes, it'd be nice to create one. What's been lacking is... you (kidding a bit) - in terms of a second use case. I find it hard to gauge for a single use case whether the stuff I create is sufficiently general (and hard to motivate myself to code things 'nicely' rather than quick and dirty without other users). So what I usually do is that I develop stuff for one use case, then make it semi-official, develop it further to a generally usable technology in close contact with 2-3 aircraft maintainers and only once that satisfies everyone make it completely public and document it. Several features such as the thruster flame shader or the HUD shader got launched that way. That allows for the possibility of controlled breakage of existing features in consensus with the involved early adopters. (From an architecture POV, I suspect the best way to implement this is to have the code on FGData but not load it and let everyone who needs it io.include it from their files? Keeps the Nasal namespace lean...) * Thorsten |