Re: [osg-users] [osgPlugins] VRML plugin - file url

2012-04-30 Thread Jan Ciger
Hello Simon, On 04/21/2012 10:39 PM, Simon Santoso wrote: Hi, I am not managing to create a node .wrl file. Meaning this code return NULL instead of a node. Code: osg::ref_ptrosg::Node test(osgDB::readNodeFile(/Users/Simon/Desktop/ProjetInvir/projet.wrl)); So I tried to install Coin3D

Re: [osg-users] [osgPlugins] VRML plugin - file url

2012-04-29 Thread Simon Santoso
Hi, I am not managing to create a node .wrl file. Meaning this code return NULL instead of a node. Code: osg::ref_ptrosg::Node test(osgDB::readNodeFile(/Users/Simon/Desktop/ProjetInvir/projet.wrl)); So I tried to install Coin3D framework prior to compile OSG to read such file. But then,

Re: [osg-users] [osgPlugins] VRML plugin - file url

2011-07-20 Thread Mathias Fröhlich
Hi, On Tuesday 19 July 2011, Jan Ciger wrote: Guys, could you post which version of OpenVRML is this against? Also your platform, please - this code was added, because on my Linux everything was working fine, but the Windows/Mac folks were reporting problems. I suspect a change in OpenVRML

Re: [osg-users] [osgPlugins] VRML plugin - file url

2011-07-20 Thread Mathias Fröhlich
Hi Jan, On Tuesday 19 July 2011, Jan Ciger wrote: Guys, could you post which version of OpenVRML is this against? Also your platform, please - this code was added, because on my Linux everything was working fine, but the Windows/Mac folks were reporting problems. I suspect a change in

Re: [osg-users] [osgPlugins] VRML plugin - file url

2011-07-20 Thread Jan Ciger
Hi, On 07/20/2011 10:52 AM, Mathias Fröhlich wrote: Hi Jan, On Tuesday 19 July 2011, Jan Ciger wrote: Guys, could you post which version of OpenVRML is this against? Also your platform, please - this code was added, because on my Linux everything was working fine, but the Windows/Mac folks

Re: [osg-users] [osgPlugins] VRML plugin - file url

2011-07-20 Thread Jan Ciger
Hello Mathias, On 07/20/2011 10:05 AM, Mathias Fröhlich wrote: Ok, I have completely rechecked with current versions. openvrml is todays svn. osg is todays 3.0 release branch. Thanks, I didn't manage to get to updating my OSG to 3.0 yet. Here, the file:///absolutepathto.wrl just does not

Re: [osg-users] [osgPlugins] VRML plugin - file url

2011-07-19 Thread Jan Ciger
On 07/19/2011 07:43 AM, Mathias Fröhlich wrote: Hi, On Monday 18 July 2011, Michael Chechow wrote: [...] Both the absolute and relative file path works. I observed something similar here. For my local hacky use, I have just removed the 'file://' too. I have put invesigating why this is

Re: [osg-users] [osgPlugins] VRML plugin - file url

2011-07-19 Thread Michael Chechow
Hi Jan, my OpenVRML version is 0.18.8_0 (on Mac OS X 10.6.8) Bye, Michael 2011/7/19 Jan Ciger jan.ci...@gmail.com On 07/19/2011 07:43 AM, Mathias Fröhlich wrote: Hi, On Monday 18 July 2011, Michael Chechow wrote: [...] Both the absolute and relative file path works. I observed

Re: [osg-users] [osgPlugins] VRML plugin - file url

2011-07-18 Thread Jan Ciger
Hi Michael, On 07/10/2011 03:48 PM, Michael Chechow wrote: Hi, .. I removed all of these lines except the last line: Code: fileName = unixFileName; After recompiling the VRML plugin, it could load the VRML file from whichever location I specified. I use OSG on Mac OS X 10.6.8, which

Re: [osg-users] [osgPlugins] VRML plugin - file url

2011-07-18 Thread Michael Chechow
Hi Jan, I tried both relative and absolute file paths. The VRML file, which I try to load, is located at /Developer/workspace/osgtest/model.wrl . I reverted my changes of the VRML plugin and added the following line for debugging purposes: osg::notify(osg::INFO) fileName= fileName.c_str()

Re: [osg-users] [osgPlugins] VRML plugin - file url

2011-07-18 Thread Mathias Fröhlich
Hi, On Monday 18 July 2011, Michael Chechow wrote: [...] Both the absolute and relative file path works. I observed something similar here. For my local hacky use, I have just removed the 'file://' too. I have put invesigating why this is required for my environment onto the todo list, where

[osg-users] [osgPlugins] VRML plugin - file url

2011-07-16 Thread Michael Chechow
Hi, I am a new OSG user and wanted to load a VRML file and display it. But the VRML plugin did only load the VRML file if it was located in the executables directory. I opened up ReaderWriterVRML2.cpp and stumbled across the following lines: (I added some spaces after file because I received