HI Justin, On Nov 7, 2007 5:41 PM, KSpam <[EMAIL PROTECTED]> wrote: > I require the use of osgSim::OverlayNode in my project; however, I require > that the textures use NEAREST filters instead of LINEAR. This is not > possible to do in the current framework. > > One thought I have would be to add a prototype texture in the constructor, > which would default to NULL. If the prototype texture is not NULL, then > overlayData._texture could use a clone of the prototype. Otherwise, we would > resort to the current process for setting overlayData._texture. > > Does this sound reasonable? If so, would you like me to submit a patch?
I think providing a filter parameter directly in OverlayNode and use this as the default would be better, as it'd avoid the possibility of inappropriate types of Textures being assigned. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

