> > Wait, this might _not_ be an OSG issue. Earlier this month Torsten > submitted a patch under the Subject "Update for SenecaII Aircraft" > ... > > Torsten's new SenecaII probably relies on this patch and therefore > might get displayed semi-transparent because nobody cared about adding > this patch to FlightGear CVS and the transparency is applied at any > time, Yes and no. I placed an simple spheric object around the aircraft that has a select-anmation. The condition is always false when the patch is not installed, so it just never shows up in the unpatched version.
The sphere is made of single-sides surfaces, visible only from the inside (from the aircraft) if the condition is true. Maybe this invisible, singlesided semitransparent sphere causes this ghost-effect in osg. This is the StrobesInCloudsHull.xml: <PropertyList> <path>StrobeInCloudsHull.ac</path> <animation> <type>noshadow</type> <object-name>StrobeInCloudsHull</object-name> </animation> <animation> <type>alpha-test</type> <alpha-factor>0.01</alpha-factor> </animation> <animation> <type>select</type> <object-name>StrobeInCloudsHull</object-name> <condition> <!-- if strobes flashes --> <property>/sim/model/lights/strobe/state</property> <!-- and view is from the cockpit --> <equals> <property>/sim/current-view/view-number</property> <value>0</value> </equals> <!-- visibility is low --> <less-than> <property>/environment/effective_visibility-m</property> <value>100</value> </less-than> <!-- but not zero (visibility patch not installed ) --> <greater-than> <property>/environment/effective_visibility-m</property> <value>0</value> </greater-than> <!-- after sunset --> <greater-than> <property>/sim/time/sun-angle-rad</property> <value>1.57</value> </greater-than> </condition> </animation> </PropertyList> Hope this helps in troubleshooting Torsten ------------------------------------------------------------------------- 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