Re: [Flightgear-devel] OSG issue 'transparent SenecaII' fixed
Hi, On Tuesday 28 November 2006 13:11, Torsten Dreyer wrote: I have fixed the transparent SenecaII to work with the osg and plib versions of fg. The problem was that the prop-discs were using the same material as many other surfaces. The prop-discs get partly transparent by texture and by animation dependend of the rpm. That made other surfaces transparent, too (what is wrong). I have set the surface material of the prop discs to a otherwise unused material and the false transparency of rest of the aircraft is gone. I think this is a bug in osg rendering that should be fixed and the following patch is just a workaround. The patch was diffed to the current cvs version of SenecaII.ac. Can someone apply the patch, please? Thanks for tracking that down. I now know what goes wrong in the animation system. I have here on my local disk many changes to the animation system that I will probably get ready during that current weekend. I believe that this bug should be fixed then in a more generic way. And If it is not already here I will do so :) So I will prefer to not change the model instead of having that right in the animation system. Greetings Mathias - 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.phpp=sourceforgeCID=DEVDEV ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel
[Flightgear-devel] OSG issue 'transparent SenecaII' fixed
I have fixed the transparent SenecaII to work with the osg and plib versions of fg. The problem was that the prop-discs were using the same material as many other surfaces. The prop-discs get partly transparent by texture and by animation dependend of the rpm. That made other surfaces transparent, too (what is wrong). I have set the surface material of the prop discs to a otherwise unused material and the false transparency of rest of the aircraft is gone. I think this is a bug in osg rendering that should be fixed and the following patch is just a workaround. The patch was diffed to the current cvs version of SenecaII.ac. Can someone apply the patch, please? Greetings, Torsten Index: SenecaII.ac === RCS file: /var/cvs/FlightGear-0.9/data/Aircraft/SenecaII/Models/SenecaII.ac,v retrieving revision 1.1.2.1 diff -u -p -r1.1.2.1 SenecaII.ac --- SenecaII.ac 25 Nov 2006 17:56:51 - 1.1.2.1 +++ SenecaII.ac 28 Nov 2006 12:01:38 - @@ -81277,7 +81277,7 @@ numvert 4 0 0.965 -0.965 numsurf 1 SURF 0x30 -mat 12 +mat 1 refs 4 3 0 1 2 1 1 @@ -81296,7 +81296,7 @@ numvert 4 0 -0.965 -0.965 numsurf 1 SURF 0x30 -mat 12 +mat 1 refs 4 0 0 1 1 1 1 - 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.phpp=sourceforgeCID=DEVDEV ___ Flightgear-devel mailing list Flightgear-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/flightgear-devel