Hi Fabien, I've been planning to make it possible to use osgdem without a graphics context - it's only used for mipmapping and texture compression.
Libsquish is already something I've experimented with but haven't reployed as the result I got were mixed and there is also the patent on the S3TC compression technique which libsquish uses which complicates it's usage. Robert. On Thu, Aug 19, 2010 at 4:10 PM, Fabien Lavignotte <[email protected]> wrote: > Hi Robert, > I modify a little bit VPB so that it can works without an active opengl > context. > First, i use some command line options in order to not need a opengl > context, disable compressed textures and creation of mip-map (--RGB-24 > -mip-mapping-hardware). Then i desactivate the creation of graphics context > in DataSet::_run (see attached the modified file). > It works, at least i can generate a small database without problem. > My plan is to add the support of compressed textures and mipmapping through > the nvidia-texture-tools library > (http://code.google.com/p/nvidia-texture-tools/). It is based on libsquish > for the compression part. So i can safely remove the creation of a graphics > context in DataSet. > But there is also a graphics context created in ThreadPool, and more > precisely only for writing threads. Looking at the code, i cannot see why > this is needed. In which case, the graphics context is needed ? Is it safe > just to remove it ? > Thanks, > Fabien > > ______________________________________________________________________ > This email has been scanned by the MessageLabs Email Security System. > For more information please visit http://www.messagelabs.com/email > ______________________________________________________________________ > > _______________________________________________ > osg-users mailing list > [email protected] > http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org > > _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

