Still my brain wants to see the thing as moving with the global mass of air, with lower layers slowed down by ground friction.
So, the implication is that the 'curvature' of the banana may change as a function of time if the top is moved with a different speed than the bottom, hence wind and thermal development tie together.
With what function did you create the plot? If you have a C++ code or just the function, I can probably Nasal it without much fuss...
The problem doesn't seem to be to write to the property, but rather to prevent it to be reinitialized at every frame, like it seems to occur now.
So that's the reason... I just noted that this ties well in with a number of other environment parameters which I can't set directly from Nasal. For many, I could set them indirectly by modifying the config version which the weather menu dialog references and then calling
fgcommand("reinit", props.Node.new({subsystem:"environment"}));
- which may not be very clean, but did the trick, but that doesn't work for thermal lift. In any case, I guess that needs a C++ solution to be able to write it.
@Hooray:
Would you consider using an updated binary compiled from a CVS snapshot?
Are you on Linux or Windows?
I'm on Linux, and a compiled binary CVS snapshot with the features we discussed here would definitely be a good solution for me. Ultimately, I'd like to get to compile myself and would appreciate any help I can get, but right now is maybe not the best time - I have a newborn daughter at home, and my time for uninterrupted focused coding or similar work is preciously short, and I have my hands quite full with Nasal already...
As for the code of what I have so far - I'll take a few more days to write some menu functions for a basic user interface to high-level and low-level cloud placement functions, clean the code of unused and obsolete bits, write a few comments and a documentation and then release the package for everyone to look at, optimize and play around, and then go to start implementing the effect volume support, wind system and improve the realism of the algorithms and so on. If anyone else could work out an easy and clean solution for setting weather parameters (thermal lift, visibility, turbulence, wind, ...) from Nasal, that would be absolutely splendid.