But, I'm not seeing where these animations are stored and updated as the sim is running.
The animation is attached to the node as user data, and a pretraversal callback is set for the SSG node. Here's the callback, from simgear/scene/model/model.cxx:
/**
* Callback to update an animation.
*/
static int
animation_callback (ssgEntity * entity, int mask)
{
((SGAnimation *)entity->getUserData())->update();
return true;
}The updating happens automatically when (and only when) SSG traverses that part of the scene graph. An animated object that's out of sight will simply not be updated until its branch of the graph becomes visible.
So, go ahead and add your windsocks straight to the scenery directories. If it's any help, here are the Canadian standards for wind direction indicators (probably very similar to the U.S. standards), from the AIP Canada, AGA 5.9:
5.9 Wind Direction Indicators
At aerodromes that do not have prepared runways, the wind direction indicator is usually mounted on or near some conspicuous building or in the vicinity of the general aircraft parking area.
Runways greater than 4 000 feet in length will have a wind direction indicator for each end of the runway. It will be located 500 feet from the runway end and 200 feet outward, usually on the left side.
Runways 4 000 feet in length and shorter will have a wind direction indicator centrally located so as to be visible from approaches and the aircraft parking area. When only one runway exists, it will be located at the mid-point of the runway 200 feet from the edge.
For night operations the wind direction indicator will be lighted.
NOTE: At aerodromes certified as airports, a dry Transport Canada standard
Wind Direction Indicator will react to wind speed as follows: WIND SPEED WIND INDICATOR ANGLE
---------- --------------------
15 KT or above Horizontal
10 KT 5deg below horizontal
6 KT 30deg below horizontal At aerodromes not certified as airports, non-standard wind indicator
systems may be in use which could react differently to wind speed.All the best,
David
_______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
