[osg-users] Encrypted 3D Models

2016-08-26 Thread John Farrier
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

Re: [osg-users] Encrypted 3D Models

2016-08-26 Thread Glenn Waldron
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 - Pelic

Re: [osg-users] Encrypted 3D Models

2016-08-26 Thread John Farrier
Perfect. Appreciate the help, Glenn! Thank you! Cheers, John -- Read this topic online here: http://forum.openscenegraph.org/viewtopic.php?p=68454#68454 ___ osg-users mailing list osg-users@lists.openscenegraph.org http://lists.op

Re: [osg-users] Encrypted 3D Models

2016-08-26 Thread Chris Hanson
It doesn't look like the OSG zip plugin supports a password option, but it wouldn't be too hard to extend it to support password-protected zipfiles. Which could themselves be in memory. On Fri, Aug 26, 2016 at 7:25 AM, John Farrier wrote: > Perfect. Appreciate the help, Glenn! > > Thank you! >