Hi Andeas,

On Fri, Dec 5, 2008 at 10:05 AM, Andreas Goebel <[EMAIL PROTECTED]> wrote:
> in my opinion those web-plugins should function as a "teaser" making people
> think: That looks cool, lets try the application. Thus the
> embedded-functionality will be enough for me.

It'll be interesting to see where things might go.  I've been thinking
about putting Prestent3D in a browser for a long time, but never had
the time and knowledge about writing it to tackle it.  No doubt lots
of others have been on the brink of diving into this area too.

I'm curious about the possibility of writing OSG viewer code in a way
that could be used either in an traditional application or a plugin to
other apps like a browser.  This is not something to worry about
though, I'll just let this stuff idle away at the back of mind until
something useful pops out.

> I am now packaging the plugin and encounter a problem: The plugin starts
> (meaning that the core osg-dlls are found), but it does not find the
> osg-plugins (I have removed osg from my path for testing reasons). Usually
> when you start an osg-application and put the plugins into the
> applicaiton-folder (or below into the correct plugin-folder) they are found.
> Maybe this is different here, as the plugin itself is not an application but
> a dll.

You will probably have to explicitly provide the library path to go
searching for the plugins.  You could either call use the
OSG_LIBRARY_PATH env var or set the search path manually via:

   osgDB::setLibraryFilePathList(mypath)

Or prepend the path to the plugins via:

  osgDB::getLibraryFilePathList().push_front(mypath);

Robert.
_______________________________________________
osg-users mailing list
osg-users@lists.openscenegraph.org
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to