[osg-users] Texture not clear in far view
robert.osfield at gmail.com
Sun Sep 7 07:13:14 PDT 2008
The OSG will automatically create the mipmaps if they aren't already
assigned for textures that require mipmapping (their minificiation
filter is set to one of the mipmap modes). The filtering is set by
the loaders, typically it'll default to mipmapping but if you loader
may be overriding this to set a non mipmapped mode. For instance some
OpenFlight modes I've come across have .attr files that set non mapped
filtering and the results are awful, here I just hide the .attr files
and let the OSG's default come in.
On Sun, Sep 7, 2008 at 10:18 AM, TANG Fangqin <fqtang at gmail.com> wrote:
> Hi Robert,
> Thanks for your reply.
> Enclosed are two screenshots of the program.
> As you can see, in the first picture, the texture of building is not clear.
> It is not quite far. The texture performance is not acceptable. But when you
> get a little closer, it becomes better (the second picture).
> Is this because of not setting mip-map? I used jpg as the texture. Is it
> possible to automatically generate mip-map and improve the texture
> performance without changing the texture files?
> Much appreciation to your comments.
> Best regards,
> osg-users mailing list
> osg-users at lists.openscenegraph.org
More information about the osg-users