Hi, Chris, I never used the imageProcessor myself (but I think I will in some month), so all I can do is to give you some free shots:
I read into the code a little bit. You are right it looks like it provides only compression currently. Background: The NVTT integration was originally implemented into VirtualPlanetBuilder to allow NVTT usage for creating osgTerrain databases with VPB. Because it hast at all a more general focus, Robert create the ImageProcessor definition and created an NVTT based image Processor. Now VPB uses these ImageProcessor if available. Because VPB only creates terrain, no decompressing function was required. I'm sure NVTT provides not only compression but also decompression. In my opinion the right way would be: * Extending osgDb::ImageProcessor to provide and decompress interface * Extending osgPlugins/nvtt/NVTTImageProcessor.cpp to implement the decompressing feature. We should ask Robert for a (very) short statement before anyone starts implementing this, I'm not sure if I got all aspects and my advice is correct. Having an decompressing feature would be nice! :) Thank you! Cheers, Torben ------------------ Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=40690#40690 _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

