On dimanche 05 octobre 2008, Alexis Bory - xiii wrote:
> gerard robin wrote:
> >  On dimanche 05 octobre 2008, Alexis Bory - xiii wrote:
> > > gerard robin wrote:
> > >> I don't get any warning , only that ugly result, which makes  the
> > >>  hotspot invisible, z buffer ? may be.
> > >> http://pagesperso-orange.fr/GRTux/tux/Hotspot_w_osg.jpg
> > >>
> > >> Versus the PLib version
> > >> http://pagesperso-orange.fr/GRTux/tux/Hotspot_w_plib.jpg
> > >
> > > Hi Gérard,
> > >
> > > I don't have any of the above problems with the f-14b and OSG. See:
> > > http://croo.murgl.org/fgfs/F-14B/hotspots.jpg
> > >
> > > May be PLIB modeled hotspots don't work "out of the box" when
> > > switching from PLIB to OSG, but franckly that's a minor problem
> > > (and, yes I know, a bit more home work). Moving the hotspot grids
> > > a few millimeters  above the panel surface will do the trick. This
> > > is not an OSG related problem.
> > >
> > > The only thing I can note is that pick animation gives white
> > > outlining of the objects (see both security caps on top of the
> > > screenshot) while the old hotspots are yellow coloured. That's all.
> > >
> > >
> > > Alexis
> >
> >  Hello xiii,
> >
> >  Is it hospots  which are defined on the panel  ? => only one hospot
> >  array definition
> >
> >  Or like i have,  hospots  which are define on the instrument ? =>
> >  each instrument is a module which keep is own hotspot definition
>
> Neither, I have several hotspots files called from the main model xml
> file. ie different hotspot grids for the side consoles, the central
> piedestal, the center of the main panel,  the sides of the main panel...
> actually 9 files for the F-14. Pick animation are located within the
> instrument xml file.
> For me, having several hotspot files for different parts of the panels
> makes a lot more crowd in the model directories but also makes
> maintainance easier.
>
Yes i agree, maintenace is easier.

I guess that my problem is due to the hierarchy. I have  more than five level 
from the lower  which is the instrument and the top  level which is the 
cockpit.
The hotspot being defined at the lower level, it could  be a lot of Alpha 
layer above it.
As far as i know OSG decide itself the priority.
The user/devel can't control it     :(

This could explain the error.

With OSG i will have to rebuid it , may be the next century :)

-- 
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
[email protected]
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to