Hi All, I have now moved the subset of glu functions that are now part of the core OSG library into the osg namespace, so the likes of gluScaleImage now would be used osg::gluScaleImage.
I have also introduced a gluScaleImage version that doesn't use glGet's, instead you pass in a PixelStorageModes object that provides all the appropriate settings. This version of gluScaleImage is particularly useful as it allows the function to be used anywhere in your application - you aren't limited just calling it from a thread with a valid graphics context. The osg::Image::scaleImage() and osg::Image::copySubImage() methods now use this new gluScaleImage function which means that both these methods can be now called anywhere in your app, at any stage, so you can move scaling and changing pixel formats into plugins, or into pre-processing functions in your application. The osgphotoalbum and osgtexture3D examples both had to use a local graphics context to do rescaling work then needed to do, and now thanks to new flexibility they no longer need this temporary graphics context, so the code is now simplified - one just directly calls the scale image functions without restriction. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

