Hi all, I need to generate mipmaps from an osg::Image (a 2D image actually, which may be S3TC-DXTC compressed or not), and I have no OpenGL context. I just want my image to have mipmaps. Do you know anything that may help me? - Something to get a context without having to realize something, or with an invisible window? - Something to allocate mipmap memory, compute mipmaps, and store them in the osg::Image?
I guess osg::gluBuild2DMipmaps() is the key, but it needs a context and process does not appear to be straightforward to me. Thanks. Cheers, Sukender PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/ _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

