Hi,

I have a program that loads and displays a set of textured polygonal OSGA 
models.  I noticed a moiré artifact that occurs when viewing some models, and 
I'm attempting to fix the problem by applying a filter to the textures.  
Specifically, I'm using a node visitor to call 
setFilter(osg::Texture::MIN_FILTER, osg::Texture::LINEAR_MIPMAP_LINEAR) on all 
the textures.

For some reason, when the filter gets applied, all the textures turn white.  If 
I then try to change the filter back to osg::Texture::LINEAR, they go back to 
normal.

If I apply a LINEAR_MIPMAP_LINEAR filter during the OSGA file creation process, 
the filter works fine.  It is only when I apply the filter while viewing the 
models that the textures turn white.

Does anyone know why this might be?

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

Reply via email to