On jeudi 09 octobre 2008, Vivian Meazza wrote:
> Erik Hofman wrote (a long time ago)
>
> > -----Original Message-----
> > From: [mailto:[EMAIL PROTECTED]
> > Sent: 30 September 2008 09:09
> > To: FlightGear developers discussions
> > Subject: Re: [Flightgear-devel] Bug or Feature? Or an accidently way to
> > landinglights; -)?
> >
> > gerard robin wrote:
> > > OSG script can be very complex with animations into animations
> > > regarding particles  shapes, particles  colors ... and so on.
> >
> > This is what I have been missing when playing with submodel particles;
> > when ejecting a flare I can get the flashlight modeled correctly but
> > all flares I have seen produce a smoke trail which is not yet possible
> > to animate (as far as I know).
> > It would be nice to have a recursive submodel object, or in other words
> > it would be nice to be able to specify new submodels within the submodel
> > animation configuration file.
>
> It's been possible to attach a sub-submodel to a submodel for some time now
> (a year or so). See data\Aircraft\seahawk\Models\seahawk-submodels.xml and
> data\Aircraft\seahawk\Models\seahawk-subsubmodels.xml to see how it's done.
>
> Submodels are hard on frame rates, so if you want a smoke trail, this is
> probably not the way to do it. But, good news, it is also possible to
> attach particles to submodels. I have attached a short smoke trail to
> tracer, and that's now in cvs, or will be shortly. I'm not sure how
> realistic it is for tracer, but it does serve to demonstrate how you might
> do it for a flare.
>
> Vivian
Since i never tried it, submodel into submodel with xml  my answer is only a 
guess.
It looks to me that the full OSG script ( without any external xml script) is 
more performant and less cpu consummer that any equivalent xml script.

However, the comparison is not fair, the xml is understood by everybody, it is 
integrated into FG  ( wind effect ) versus the OSG script which was difficult 
to understand, it is not integrated into FG.
My whish is to have both  :) :)

Cheers

-- 
Gérard
http://pagesperso-orange.fr/GRTux/

J'ai décidé d'être heureux parce que c'est bon pour la santé. 
Voltaire


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to