Hi Sukender, On Tue, Feb 1, 2011 at 10:57 AM, Sukender <[email protected]> wrote: > Any news about having a mipmap generation thing directly into OSG? I cannot > include code of VPB (LGPL) in my app (proprietary), and I do not think about > linking to VPB just for mipmaps...
You obviously missed the news about GLU integration into the core OSG that provides minmap generation without the need for a graphics context, and a new NVTT plugin that provides mipmap generation and texture compression without the need for graphics context. The NVTT plugin is accessed via the osgDB::ImageProcessor interface class. You can get the ImageProcessor from the osgDB::Registry via: osgDB::ImageProcessor* ip = osgDB::Registry::instance()->getImageProcessor(); This will automatically load the NVTT if it's available. VPB now uses this NVTT support, so doesn't required NVTT as an external dependency, if you want NVTT support then you simply build the OSG with it and VPB will pick the ImageProcessor implementation automatically. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

