Hi Liang, On Fri, Jun 20, 2008 at 2:28 AM, lab_zj <[EMAIL PROTECTED]> wrote: > Hi, Robert: > How are you,I have a idea for texture-loading plugins currently in OSG: > Why we don't use FreeImage to act as a texture-loader? Because: > 1. FreeImage using GPL license,so we can freely use it.
But... GPL does mean that associated plugins would have to be GPL, and loading GPL'd plugins into the non GPL's application/application framework while I believe is legal, it has yet to be tested in court as far as I'm aware. Many users will stay well clear of GPL'd plugin due to these uncertainties. As a general guide its best to use dependencies that are similar to the OSGPL (i.e.LGPL or MIT etc). > 2. FreeImage support all image formats that used in OSG's plugins, extrally, > it also support OpenEXR, can have floating pixel. > 3. If we use it, then the all texture-loading plugins can be removed, and > the > number of compiled files will decreased. Technically I generally prefer fine grained plugins rather than monolithic ones that try and support everything, as it means that the dependency chain and memory footprint are kept focused on the actual needs of end users. And this to GPL issue then this is enough for me to not entain replacing existing plugins that are known to work well. However, if you wish to write a FreeImage based plugin then feel free, just because I don't want to use such a plugin to replace existing plugins doesn't mean that it still doesn't have its own value. Cheers, Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

