Re: [osg-users] Load file from URL link

2009-12-17 Thread Robert Osfield
Hi Danny,

Supoort for reading from http is provide the curl plugin.  You'll need
to compile against libcurl to be able to compile and use it.

Another thing to note is that the curl plugin reads the data into
memory than uses a istream to pass this data to the plugin that will
be loading the model, so this plugin will have to support reading from
istream.  Not all plugins support this, but most of the core ones do,
including the 3ds plugin in svn/trunk.

Robert.

On Wed, Dec 16, 2009 at 6:58 PM, Danny Lesnik danny...@walla.co.il wrote:
 Hi,

 Is there any way to read node file using osgDB::readNodeFile method from URL?

 For example http://localhost/1.3DS


 Thank you!

 Cheers,
 Danny

 --
 Read this topic online here:
 http://forum.openscenegraph.org/viewtopic.php?p=21590#21590





 ___
 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


[osg-users] Load file from URL link

2009-12-16 Thread Danny Lesnik
Hi,

Is there any way to read node file using osgDB::readNodeFile method from URL? 

For example http://localhost/1.3DS


Thank you!

Cheers,
Danny

--
Read this topic online here:
http://forum.openscenegraph.org/viewtopic.php?p=21590#21590





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