On 13 Apr 2013, at 01:25, syd adams <[email protected]> wrote:
> If this is any help , it appears that one of the objects disappears if there
> are multiple objects in the pick animation.
> Will continue testing .
I've figured it out; the A4-F is using an idiom like this:
<pick anim …>
<objectname>A</>
<objectname>B</>
<objectname>C</>
</pick>
<select anim>
<objectname>A</>
.. condition…
</select>
<select anim>
<objectname>B</>
… condition…
</select>
And so on. My new code is breaking this model, because I'm creating a group
with all the objects (A,B,C) clustered together (which is considerably more
efficient).
There is actually a work-around; re-order the XML so the selects occur before
the pick, and everything is fine. Obviously this is a hack, and our animation
files are supposed to be order-independant (I think? Never actually seen that
stated as a requirement).
I'll figure out a proper fix now. The easy fix is /not/ to group multiple
object-names together, but it's at the expense of more intermediate notes in
the scene, alas.
Regards,
James
------------------------------------------------------------------------------
Precog is a next-generation analytics platform capable of advanced
analytics on semi-structured data. The platform includes APIs for building
apps and a phenomenal toolset for data science. Developers can use
our toolset for easy data analysis & visualization. Get a free account!
http://www2.precog.com/precogplatform/slashdotnewsletter
_______________________________________________
Flightgear-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel