With the following model: world '' (2) group 'testgroup1' (2) poly 'test1' group 'testgroup2' (1) poly 'test2'
I can use a material animation on testgroup1 and both test1 and test2 respond, which is what I would expect. I can't seem to get a material animation to work for testgroup2 though, as long as there is a material animation for it's parent group. It does not matter what order the animations are given in the model.xml file, it always fails. Removing the animation for testgroup1 allows the animation for testgroup2 to work. Also, using <name> tags for the animations doesn't change the behavior. This was not the case before the OSG changeover, and breaks a few important animations in the ch53e cockpit. I can work around this, but it will be inelegant and require a lot of extra animations as I will have to flatten out the structure of the cockpit. Any ideas? Josh PS, here are the animations: <animation> <type>material</type> <object-name>testgroup2</object-name> <property-base>sim/model/ch53e/test-mat-2</property-base> <diffuse> <red-prop>diffuse/red</red-prop> <green-prop>diffuse/green</green-prop> <blue-prop>diffuse/blue</blue-prop> </diffuse> <ambient> <red-prop>ambient/red</red-prop> <green-prop>ambient/green</green-prop> <blue-prop>ambient/blue</blue-prop> </ambient> <specular> <red-prop>specular/red</red-prop> <green-prop>specular/green</green-prop> <blue-prop>specular/blue</blue-prop> </specular> <emission> <red-prop>emission/red</red-prop> <green-prop>emission/green</green-prop> <blue-prop>emission/blue</blue-prop> </emission> <shininess/> </animation> <animation> <type>material</type> <object-name>testgroup1</object-name> <property-base>sim/model/ch53e/test-mat-1</property-base> <diffuse> <red-prop>diffuse/red</red-prop> <green-prop>diffuse/green</green-prop> <blue-prop>diffuse/blue</blue-prop> </diffuse> <ambient> <red-prop>ambient/red</red-prop> <green-prop>ambient/green</green-prop> <blue-prop>ambient/blue</blue-prop> </ambient> <specular> <red-prop>specular/red</red-prop> <green-prop>specular/green</green-prop> <blue-prop>specular/blue</blue-prop> </specular> <emission> <red-prop>emission/red</red-prop> <green-prop>emission/green</green-prop> <blue-prop>emission/blue</blue-prop> </emission> <shininess/> </animation> ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2008. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel