Hi Mustafa,

On 8/8/06, Mustafa <[EMAIL PROTECTED]> wrote:
Thanks for information,

One more question:

Is it important to give a specific file name prefix for the dll file?

i.e. osgdb_test.dll ?

or may I give any name, and osgDB will automatically locate this DLL
?

The osgdb_name.dll maps to the extension i.e myfile.name  so its
important to get the name right.

However you can preload your plugin with your app, and this will then
automatically register itself thanks to the
osgDB::RegisterReaderWriterProxy, then you plugin will be checked to
see if it can load all files.  The OSG uses the Chain Of
Responisbility Design Pattern, so its down to your plugin to filter
out and ignore files it can't handle.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to