Re: [osg-users] [osgPlugins] OSGT does not read nodemask

2012-08-24 Thread Johannes Scholz
Hi,

ok, got it. Posting fix to osgSubmission.

Actually only the std::showbase and std::noshowbase where missing in the 
osgDB::PropByValSerializer


Code:
if ( _useHex ) os  std::hex  std::showbase;
os  value;
if ( _useHex ) os  std::dec  std::noshowbase;




Thank you!

Cheers,
Johannes[/code]


---
Johannes Scholz
Software Engineer
P3 Voith Aerospace GmbH, Bremen, Germany

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





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


Re: [osg-users] [osgPlugins] OSGT does not read nodemask

2012-08-24 Thread Robert Osfield
Thanks Johannes, fix now merged and submitted to svn/trunk.

On 24 August 2012 08:33, Johannes Scholz osg-supp...@vtxtech.net wrote:
 Hi,

 ok, got it. Posting fix to osgSubmission.

 Actually only the std::showbase and std::noshowbase where missing in the 
 osgDB::PropByValSerializer


 Code:
 if ( _useHex ) os  std::hex  std::showbase;
 os  value;
 if ( _useHex ) os  std::dec  std::noshowbase;




 Thank you!

 Cheers,
 Johannes[/code]

 
 ---
 Johannes Scholz
 Software Engineer
 P3 Voith Aerospace GmbH, Bremen, Germany

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





 ___
 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


Re: [osg-users] [osgPlugins] OSGT does not read nodemask

2012-08-23 Thread Johannes Scholz
The problem appears to be in writing, not reading:

I just figured out, that the osgt writer does not write the 0x in front of 
the hexint value. That seems to be the problem. Manually adding the 0x on all 
hexint values makes the output file have the nodemask value correct but , 
again, missing the 0x.

Best regards


---
Johannes Scholz
Software Engineer
P3 Voith Aerospace GmbH

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





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


Re: [osg-users] [osgPlugins] OSGT does not read nodemask

2012-08-23 Thread Robert Osfield
Hi Johannes,

On 23 August 2012 17:10, Johannes Scholz johannes.sch...@vtxtech.net wrote:
 The problem appears to be in writing, not reading:

 I just figured out, that the osgt writer does not write the 0x in front of 
 the hexint value. That seems to be the problem. Manually adding the 0x on all 
 hexint values makes the output file have the nodemask value correct but , 
 again, missing the 0x.

Could you post a fix to osg-submissions.

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


Re: [osg-users] [osgPlugins] OSGT does not read nodemask

2012-08-23 Thread Johannes Scholz
Hi,

jup. If i have the time possibly tomorrow. 

Thank you!

Cheers,
Johannes


---
Johannes Scholz
Software Engineer
P3 Voith Aerospace GmbH

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





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


Re: [osg-users] [osgPlugins] OSGT does not read nodemask

2012-08-23 Thread Wang Rui
Glad to see the problem has been found and solved before I got to this
mail. :-)

Wang Rui

2012/8/24 Johannes Scholz johannes.sch...@vtxtech.net

 Hi,

 jup. If i have the time possibly tomorrow.

 Thank you!

 Cheers,
 Johannes

 
 ---
 Johannes Scholz
 Software Engineer
 P3 Voith Aerospace GmbH

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





 ___
 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