Hi all , 
Hotspots are back to normal ... almost.
They are now covered or hidden by some 3d objects , so I disabled the
Depth Test state  and it now works like the plib version , most
hotspots are visible again....
 I'm not sure how to create a proper patch file .... and Im not sure if
I have write access to the source , so I'll add a description of my
change to panel.cxx ...

starting line: 475

    if (!hotspotStateSet.valid()) {
      hotspotStateSet = new osg::StateSet;
      hotspotStateSet->setTextureMode(0,GL_TEXTURE_2D,osg::StateAttribute::OFF);
      hotspotStateSet->setMode(GL_LIGHTING,osg::StateAttribute::OFF);
 }

with change:

    if (!hotspotStateSet.valid()) {
      hotspotStateSet = new osg::StateSet;
      hotspotStateSet->setTextureMode(0,GL_TEXTURE_2D,osg::StateAttribute::OFF);
      hotspotStateSet->setMode(GL_LIGHTING,osg::StateAttribute::OFF);
     hotspotStateSet->setMode(GL_DEPTH_TEST,osg::StateAttribute::OFF);
 }

Cheers,
Syd

P.S. Already compiled and running on my system...



-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Flightgear-devel mailing list
Flightgear-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/flightgear-devel

Reply via email to