* Robicd -- Thursday 23 February 2006 11:42: * * Melchior FRANZ: > > Reading the documentation is *strongly* recommended before you complain. > > It's a bug in your XML code. > > Of course, Melchior, I wasn't complaining :-) Did I?
It was the "Or is that a bug too?" that made me explode. It's not like the "material" animation is a bug ridden piece of code. Yes, there was a bug, but if the animation doesn't work like you expect it to, it's still *far* more likely caused by user error, than a bug. :-} > I was looking for some suggestions because I find the only documentation > available for non programmers (which is the model-howto.html) a little > bit confusing regarding factor, offset and -prop stuff. Factor and offset work the same in all animations that offer it. They are applied to a <value> or <property> like so: (value * factor) + offset [redundant parens added for educational purposes ;-] And <*-prop> does always mean that the contents are supposed to be a property path. This is also used elsewhere, and not a "material" feature. I agree that the documentation could use some improvements, but I wouldn't say that the examples for the material animation are unclear with respect to the difference between <red> and <red-prop>: <red>1.0</red> ... <red-prop>diffuse/red</red-prop> When I need information about an animation, I look into three sources: the model-howto.hml, simgear/scene/model/animation.[ch]xx, and animation files in $FG_ROOT/Aircraft/*. The second source shouldn't be necessary, but until someone comes along and completes the model-howto this is a good enough workaround. m. ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting language that extends applications into web and mobile media. Attend the live webcast and join the prime developer group breaking into this new coding territory! http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642 _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel