Hi Robert,

I indeed missed the news. Many thanks.
However I don't understand one point: must I have NVTT to build mipmaps in my 
app (I do not use VBP, only OSG), or will the ImageProcessor default to another 
implementation if not found? Or is the NVTT source code directly integrated in 
OSG? (or am I wrong somewhere? ;) )

Cheers,

Sukender
PVLE - Lightweight cross-platform game engine - http://pvle.sourceforge.net/

----- "Robert Osfield" <robert.osfi...@gmail.com> a écrit :

> Hi Sukender,
> 
> On Tue, Feb 1, 2011 at 10:57 AM, Sukender <suky0...@free.fr> 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
> osg-users@lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to