Hi Issam, On Thu, Nov 11, 2010 at 7:14 AM, issam boughanmi <[email protected]> wrote: > is there any mechanism to protect assets included in osga archive file that > prevent the final user from extracting the archive content
There is no mechanism in any of the OSG libraries or plugins for implement DRM. However, the OSG ReaderWriter do support reading data from a istream, and you can implement any reading mechanism you want, such as read a file into memory, decypt it then pass this plugins for loading. The curl and gz plugins both use this approach albeit reading for http or uncompressing a file into memory, so you could look at these to see how they do it. The other approach would be to no trying a make an unreadable file, but make the scene graph data in it usable without processing. For instance you could take all the vertex arrays and imagery pre-process them so that they are encrypted, and then save this model out to disk, then on load you post process the scene graph to decrypt the data. Robert. _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

