[osg-users] Encrypted 3D Models

Glenn Waldron gwaldron at gmail.com
Fri Aug 26 05:32:30 PDT 2016


Hi John,
To read from memory, you can get the plugin you want by calling

  osgDB::Registry::getReaderWriterForExtension(...) or
  osgDB::Registry::getReaderWriterForMimeType(...)

and then call the stream version of readNode:

  ReaderWriter::readNode(std::istream& in, ...);

Glenn Waldron - Pelican Mapping

On Fri, Aug 26, 2016 at 8:20 AM, John Farrier <john.farrier at gmail.com>
wrote:

> Hi,
>
> I have a set of 3D models i would like to distribute, but their license is
> restrictive and I must provide a way to protect the IP.  The best way to do
> this, I think, is to use a format that encrypts the models on disk and
> decrypts them when I read them into memory.  Is there any support for this
> within OSG or its standard plugins?  If not, can the osgdb utilities read a
> model from memory, or just from files?
>
> Thank you!
>
> Cheers,
> John
>
> ------------------
> Read this topic online here:
> http://forum.openscenegraph.org/viewtopic.php?p=68452#68452
>
>
>
>
>
> _______________________________________________
> 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/20160826/2ef21910/attachment-0003.htm>


More information about the osg-users mailing list