Re: [Flightgear-devel] [BUG] warning: picked up error... with OSG hotspots and mouse-view

2008-10-05 Thread gerard robin
On dimanche 05 octobre 2008, Heiko Schulz wrote:
 Hi,

 heading to a new release I noticed a bug which annoy me a lot and make the
 OSG-hotspots nearly unusuable.

 Klicking on the OSG-hotspot creates a warning: picked up error in
 TriangleIntersect which let FGF freezes some seconds. The same when I
 change the mouse-mode.

 But I have no problems with the old hotspots from plib?!

 win32, CVS built by Fred from 10/04/2008, first errors appeared around
 august.

 Any ideas?

 Regards
 HHS

 still in work: http://www.hoerbird.net/galerie.html
 But already done: http://www.hoerbird.net/reisen.html


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

Cheers

BTW: Cockpit of the F-8E Crusader, coming soon :)
 



-- 
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=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


[Flightgear-devel] [BUG] warning: picked up error... with OSG hotspots and mouse-view

2008-10-05 Thread Heiko Schulz
Hi, 

heading to a new release I noticed a bug which annoy me a lot and make the 
OSG-hotspots nearly unusuable.

Klicking on the OSG-hotspot creates a warning: picked up error in 
TriangleIntersect which let FGF freezes some seconds. The same when I change 
the mouse-mode. 

But I have no problems with the old hotspots from plib?!

win32, CVS built by Fred from 10/04/2008, first errors appeared around august.

Any ideas?

Regards
HHS

still in work: http://www.hoerbird.net/galerie.html
But already done: http://www.hoerbird.net/reisen.html


  

-
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=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] [BUG] warning: picked up error... with OSG hotspots and mouse-view

2008-10-05 Thread gerard robin
On dimanche 05 octobre 2008, Heiko Schulz wrote:
 Hi,

 heading to a new release I noticed a bug which annoy me a lot and make the
 OSG-hotspots nearly unusuable.

 Klicking on the OSG-hotspot creates a warning: picked up error in
 TriangleIntersect which let FGF freezes some seconds. The same when I
 change the mouse-mode.

 But I have no problems with the old hotspots from plib?!

 win32, CVS built by Fred from 10/04/2008, first errors appeared around
 august.

 Any ideas?

 Regards
 HHS

 still in work: http://www.hoerbird.net/galerie.html
 But already done: http://www.hoerbird.net/reisen.html


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

Cheers

BTW: Cockpit of the F-8E Crusader, coming soon :)
 



-- 
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=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] [BUG] warning: picked up error... with OSG hotspots and mouse-view

2008-10-05 Thread Alexis Bory - xiii
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




-
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=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] [BUG] warning: picked up error... with OSG hotspots and mouse-view

2008-10-05 Thread gerard robin
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



-- 
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=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] [BUG] warning: picked up error... with OSG hotspots and mouse-view

2008-10-05 Thread Alexis Bory - xiii
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.



-
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=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] [BUG] warning: picked up error... with OSG hotspots and mouse-view

2008-10-05 Thread gerard robin
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=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] [BUG] warning: picked up error... with OSG hotspots and mouse-view

2008-10-05 Thread Ron Jensen
On Sun, 2008-10-05 at 15:38 +0200, 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


I don't see white highlighting, but I do see the z-buffer issue with
old-style panel hotspots.

Take a look at converting over from panels to OSG hotspots.  Maintenance
is easier, clickable instruments are portable, and if you move an
instrument or switch, the hotspot automatically moves with it, including
moving the switch with an animation.  For example, a to move a gear
handle you always click the handle, not some vaguely defined rectangle
in the general area of the handle.

http://www.jentronics.com/fgfs/temp/hotspots.jpg

All the hotspots in the DA20 model are OSG, I borrowed some of the
instrumentation from elsewhere so there is a mix of styles for turnable
knobs.  My personal preference here is the mouse wheel, that is how the
instrument brightness knob (left side by ASI) works. The OBI and heading
indicator use the old style squares hotspots.

Especially note the carb-heat, cabin-heat, choke and parking brake knobs
on the pedestal console.  With a plib-style hotspot scheme you almost
have to turn on the highlighting to tell where to click.  With the OSG
style, you just click the knob and it toggles.  And the spot to click
moves in and out with the knob mesh.  

jentRon




-
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=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] [BUG] warning: picked up error... with OSG hotspots and mouse-view

2008-10-05 Thread Erik Hofman


Ron Jensen wrote:

 Take a look at converting over from panels to OSG hotspots.

Just to be sure, is this the ´pick animation' or yet another method?

Erik

-
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=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] [BUG] warning: picked up error... with OSG hotspots and mouse-view

2008-10-05 Thread Ron Jensen
On Sun, 2008-10-05 at 18:13 +0200, Erik Hofman wrote:
 
 Ron Jensen wrote:
 
  Take a look at converting over from panels to OSG hotspots.
 
 Just to be sure, is this the ´pick animation' or yet another method?
 
 Erik

Sorry for not being clear.  Yes it is the pick animation.

Ron



-
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=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] [BUG] warning: picked up error... with OSG hotspots and mouse-view

2008-10-05 Thread gerard robin
On dimanche 05 octobre 2008, Ron Jensen wrote:
 On Sun, 2008-10-05 at 18:13 +0200, Erik Hofman wrote:
  Ron Jensen wrote:
   Take a look at converting over from panels to OSG hotspots.
 
  Just to be sure, is this the ´pick animation' or yet another method?
 
  Erik

 Sorry for not being clear.  Yes it is the pick animation.

 Ron

I didn't understood that feature.
How can we turn a knob,  increase or decrease a value , since it is the same 
object.




-- 
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=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] [BUG] warning: picked up error... with OSG hotspots and mouse-view

2008-10-05 Thread Erik Hofman


Ron Jensen wrote:
 On Sun, 2008-10-05 at 18:13 +0200, Erik Hofman wrote:
 Ron Jensen wrote:

 Take a look at converting over from panels to OSG hotspots.
 Just to be sure, is this the ´pick animation' or yet another method?
 
 Sorry for not being clear.  Yes it is the pick animation.

No problem, I was just a bit confused.
Thanks for the explanation.

Erik

-
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=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] [BUG] warning: picked up error... with OSG hotspots and mouse-view

2008-10-05 Thread Ron Jensen
On Sun, 2008-10-05 at 18:31 +0200, gerard robin wrote:
 On dimanche 05 octobre 2008, Ron Jensen wrote:
  On Sun, 2008-10-05 at 18:13 +0200, Erik Hofman wrote:
   Ron Jensen wrote:
Take a look at converting over from panels to OSG hotspots.
  
   Just to be sure, is this the ´pick animation' or yet another method?
  
   Erik
 
  Sorry for not being clear.  Yes it is the pick animation.
 
  Ron
 
 I didn't understood that feature.
 How can we turn a knob,  increase or decrease a value , since it is the same 
 object.

I use the left button/right button or the mouse wheel forward/back:

!-- Flight Intruments --
animation
  typepick/type
  object-nameknob-fltinst/object-name
  action
button0/button
binding
  commandproperty-adjust/command
  propertycontrols/lighting/instruments-norm/property
  step0.1/step
  min0/min
  max1/max
  wrap0/wrap
/binding
  /action
  action
button1/button
binding
  commandproperty-adjust/command
  propertycontrols/lighting/instruments-norm/property
  step-0.1/step
  min0/min
  max1/max
  wrap0/wrap
/binding
  /action
   
  action
button4/button
binding
  commandproperty-adjust/command
  propertycontrols/lighting/instruments-norm/property
  step0.1/step
  min0/min
  max1/max
  wrap0/wrap
/binding
  /action
  action
button3/button
binding
  commandproperty-adjust/command
  propertycontrols/lighting/instruments-norm/property
  step-0.1/step
  min0/min
  max1/max
  wrap0/wrap
/binding
  /action
/animation 



-
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=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] [BUG] warning: picked up error... with OSG hotspots and mouse-view

2008-10-05 Thread Jon Stockill
gerard robin wrote:

 I didn't understood that feature.
 How can we turn a knob,  increase or decrease a value , since it is the same 
 object.

You can create invisible objects - so you can have one to increase and 
one to decrease. Have a look at the Grob 115 cockpit for some examples.

Jon

-
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=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] [BUG] warning: picked up error... with OSG hotspots and mouse-view

2008-10-05 Thread Stewart Andreason
Alexis Bory - xiii wrote:
 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.
   

Hi Alexis,

If an object has a _material_ animation, specifically, emissions, then 
it will not be the thick yellow line, but instead a thin line the _same_ 
color as the emission value.

So for example, if the emission value is black, the pick line will also 
be black, and virtually invisible.

Stewart


-
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=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel


Re: [Flightgear-devel] [BUG] warning: picked up error... with OSG hotspots and mouse-view

2008-10-05 Thread Heiko Schulz
Hi, one question:
 
 You can create invisible objects - so you can have one to
 increase and 
 one to decrease. Have a look at the Grob 115 cockpit for
 some examples.
 
is the conditions-problem solved? 

When I did try to convert the current 737-300ap-panel to a 3d one, I noticed 
that conditions-binding are nor working. Does anyone knows if this fixed?

Cheers
HHS


  


-
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=100url=/
___
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel