[osg-users] Loading osgt from string / Compile resources into binary
Sam Brkopac
brkopac at gmail.com
Mon Jan 21 09:11:09 PST 2019
Hi Michael,
The portable way is to define a byte array.
See this stackoverflow for more detail: https://stackoverflow.com/questions/7288279/how-to-embed-a-file-into-an-executable
Sent from my iPhone
> On Jan 21, 2019, at 4:02 AM, Michael Maurus <michael.maurus at web.de> wrote:
>
> Hi guys,
>
> is it possible to somehow compile resources like models/nodes into an executable?
> How about putting the content of an osgt file as a string into my source code?
> But as far as I've seen, there is no readNodeFromString method in osgDB.
>
> Any ideas/suggestions?
>
> Thank you!
>
> Cheers,
> Michael
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=75519#75519
>
>
>
>
>
> _______________________________________________
> osg-users mailing list
> osg-users at lists.openscenegraph.org
> http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openscenegraph.org/pipermail/osg-users-openscenegraph.org/attachments/20190121/8b60e121/attachment.html>
More information about the osg-users
mailing list