[osg-users] Texture not clear in far view

Gordon Tomlinson gordon at gordon-tomlinson.com
Mon Sep 8 06:49:35 PDT 2008

Look up anisotropic filtering, that's probably part of the effect your
seeing, most modern cards have settings to help this type of artifact


BTW JPEG images have to be decompressed before they are  used, thus they do
not save you any graphics memory, DDS is better because modern cards handle
the format as native and no decompression is needed


Gordon Tomlinson 

gordon at GordonTomlinson.com
IM: gordon3dBrit at 3dscenegraph.com
www.vis-sim.com <http://www.vis-sim.com/>  www.gordontomlinson.com



From: osg-users-bounces at lists.openscenegraph.org
[mailto:osg-users-bounces at lists.openscenegraph.org] On Behalf Of TANG
Sent: Monday, September 08, 2008 8:19 AM
To: osg-users at lists.openscenegraph.org
Subject: Re: [osg-users] Texture not clear in far view


Hi Robert and J-S,


Thanks for your reply.

Yes, the DDS format is a good solution to control the mip mapping. But now
since my texture is JPEG, it seems that I have to let OSG generate mipmaps. 


I find that the default filtering mode is LINEAR_MIPMAP_LINEAR for
MIN_FILTER. I tried some other filtering modes like LINEAR, and the texture
performance becomes better in far distance. The texture, however, doesn't
look very stable and is kind of dithering when you move the scene. When you
stop, everything is just fine. 


Any hints for the possible reason for this? Thanks a lot.


Best regards,


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20080908/7d49f7a8/attachment-0003.htm>

More information about the osg-users mailing list