Josh Babcock wrote: > I'm having problems with the LOD animations in a model I'm working on. > I am wondering if the value that is queried in the range type of > animation is exposed anywhere. I have looked, but can't find it in the > property tree. I am also unsure of where to find references to this in > the code. Can anyone out there answer either of these questions?
The value used to compute the range is the distance between the viewer and the center of the model ( its relative ( 0,0,0 ) position ). It is not exposed in the property tree because it is computed every frame by plib itself. But you can setup your animation to read the min and max values in properties. Look in the XML files of the buildings in the scenery folder. Almost everyone as such an animation. You can find the code in SimGear / simgear / scene / model / animation.[ch]xx If you can expose what are exacly your problems, perhaps we can help you more. -Fred _______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
