Frederic BOUVIER wrote:
Josh Babcock wrote:None of the 6 objects in the problem animation are members of any group.
<snip>
I think the problem can be with your model. I think of two more points to check :
1. if your objects are included in a branch that is culled, they will not appear.
2. if your objects are a single quad or triangle, plib doesn't name then andI already ran into this problem with some other animations, it does not affect these objects. These are all at least 4 poly's.
they cannot be selected. A single quad must be split in 2 triangles to have
a named object.
-FredAnd here's a really weird thing. If I take any one of the six objects and put it in this animation it works fine. I tried all six individually. Next I tried just two, and it got even worse:
<animation> <type>range</type> <min-m>0</min-m> <max-m>2000</max-m> <object-name>leftgunner</object-name> </animation>
^ This one works fine. Everything is visible close up, but the left gunner bubble isn't visible from over 2 klicks away.
<animation> <type>range</type> <min-m>0</min-m> <max-m>2000</max-m> <object-name>rightgunner</object-name> <object-name>leftgunner</object-name> </animation>
^ This one doesn't. The right gunner bubble appears and disappears just fine but now the left bubble is broken.
Do it like this:
<animation> <type>range</type> <min-m>0</min-m> <max-m>2000</max-m> <object-name>astrodome</object-name> <object-name>rightgunner</object-name> <object-name>leftgunner</object-name> </animation>
and only the astrodome works right, the two gunner positions disappear entirely.
So it looks like in this particular animation, the first object is treated correctly, whatever it is, and the remaining objects are just thrown away somehow. I think I missed this at first because in the original animation I had a very small object first. These all have translucent materiels assigned to them in the .ac file, BTW. Now that I know what to look for, I can also see this very same problem in this animation:
<animation> <type>range</type> <min-m>2000</min-m> <max-m>10000</max-m> <object-name>opaque-tailwindow</object-name> <object-name>opaque-lwindow</object-name> <object-name>opaque-rwindow</object-name> <object-name>opaque-canopy</object-name> </animation>
So my question now is, is this a misfeature where I have to group everything I want to animate under a single object or create multiple animations, or is it a bug?
Josh
PS, if any more C savvy people out there want to look closer at this and can't duplicate it, I can send the whole set of .xml files and the .ac file to you.
_______________________________________________ Flightgear-devel mailing list [EMAIL PROTECTED] http://mail.flightgear.org/mailman/listinfo/flightgear-devel
