Andreas Goebel ha scritto:
Hi,

I am just writing a firefox-plugin for osgViewer, which was surprisingly easy so far. I already have got old bessy in firefox, but it is loaded from a local file.

How can I load files from http? I guess that I either have to interact somehow with the firefox plugin-api and stream it somehow to my plugin, or something else that I am not aware of.

If someone has done something of the kind, please give me a pointer at where to look for.

Not sure if I understood: you are putting osgviewer inside firefox like
http://3d.cineca.it/storage/demo_vrome_ajax/virtualrome_3d.html (windows only....sic)
or the other way around?
If it is the first case, we used curl osg built in functionality to get ive and osg from the web, just pass url to ReadNodeFile I know that it should be possible to ask for firefox a url and get back like a stream, but we decided to go the easiest way.
On which platform are you working on?
There are several projects for putting osg inside browser and It would be really nice if we coud share efforts. If your release plan is open source (like our), please let we know, we are more than willing to cooperate. We found that most of the trouble comes when you scale both data as well as deploymentplatforms. Our stuff is relatively stable on NVidia recent HW but fails on old ATI and on some intel.

Regards
        Luigi


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

Reply via email to