Thank you Farshid!  That did the trick.


-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] On Behalf Of Farshid
Lashkari
Sent: Wednesday, October 25, 2006 1:17 PM
To: osg users
Subject: Re: [osg-users] Strange behavior with osg::Texture::setFilter()

On 10/25/06, Weitz, Andrew C. <[EMAIL PROTECTED]> wrote:
> Does anyone know why this might be?

You need to dirty the texture object when changing the filter mode
from non-mipmap to mipmap, so that that mipmaps are actually created.
Try this after setting the filter mode:

texture->dirtyTextureObject();

-Farshid
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to