I'm looking into this. I'm guessing there might be issues with embedded
quotes and possibly brackets "{}" (at least with the .osg files).

Brian

[EMAIL PROTECTED] wrote: -----

To: OpenSceneGraph Users <[email protected]>
From: Paul Melis <[EMAIL PROTECTED]>
Sent by: [EMAIL PROTECTED]
Date: 10/01/2008 10:08AM
Subject: Re: [osg-users] How to add UserData to .osg and .ive files

Just out of curiousity, is arbitrary data handled correctly for these
fields? I.e. could you abuse it to store binary data?
If not, you can always do something like base64-encoding first, of
course ;-)

Paul

Serge Lages wrote:
> Hi,
>
> If you only need to set text, use the descriptions fields or the name
> instead of the UserData, it will be written to the IVE or OSG file
> without problem.
>
> Cheers,
>
> On Wed, Oct 1, 2008 at 3:41 PM, Brian R Hill <[EMAIL PROTECTED]
> <mailto:[EMAIL PROTECTED]>> wrote:
>
>
>     I'm trying to add user data (text) to nodes and write them out
>     as .osg/.ive.
>
>     Any suggestions on how I can do this?
>
>     Brian
>
>     _______________________________________________
>     osg-users mailing list
>     [email protected]
>     <mailto:[email protected]>
>
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>
>
>
>
> --
> Serge Lages
> http://www.tharsis-software.com
> ------------------------------------------------------------------------
>
> _______________________________________________
> osg-users mailing list
> [email protected]
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
>

_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org


_______________________________________________
osg-users mailing list
[email protected]
http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

Reply via email to