Hi,

> 2. I noticed that the stripes on the sides of the pa24-250 look more
> ragged at nearly all distances with OSG.  Again, they are much smother
> with ac3dlx or plib until you get very close.  I looked at the 1024x1024
> texture file with gimp, and you have to magnify the image until you see
> individual pixels to see the indefinite edge.  You can see the
> difference just by launching the OSG version with fgrun as the rotating
> aircraft looks as in fgfs plib.  I hope this difference can be improved.
> I looked at other aircraft.  Straight lines in textures look worse in
> OSG so far.

IMHO texture compression is not applied corrrectly.

retrieving revision 1.51
diff -u -r1.51 model.cxx
--- simgear/scene/model/model.cxx       20 Nov 2006 18:19:02 -0000      1.51
+++ simgear/scene/model/model.cxx       24 Nov 2006 22:24:27 -0000
@@ -269,7 +269,8 @@

        // OSGFIXME
        registry->getSharedStateManager()->share(res.getNode());
-
+
+#if 0
        // OSGFIXME: guard that with a flag
        // OSGFIXME: in the long term it is unclear if we have an OpenGL 
context here...
        osg::Texture::Extensions* e = osg::Texture::getExtensions(0, true);
@@ -280,8 +281,10 @@
          SGTexCompressionVisitor 
texComp(osg::Texture::USE_S3TC_DXT5_COMPRESSION);
          res.getNode()->accept(texComp);
        }
+#endif
      }

+
      // Add an extra reference to the model stored in the database.
      // That it to avoid expiring the object from the cache even if it 
is still
      // in use. Note that the object cache will think that a model is 
unused if the

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

Reply via email to