brettwiesner wrote on Wednesday, October 01, 2008 11:02 AM: > I've got a requirement to ship certain 3rd party model data only in an > encrypted format. So I wrote my own loader that does the encryption/ > decryption but uses the IVE loader for everything. This works except for > files that reference other files. The master file is encrypted, but the > referenced files are saved out as .ive's.
> 2) Is there some other mechanism in OSG that will let me do this? You could implement your own loader with a different file extension (say, ".enc") that does the en/decryption and then calls the IVE loader to load the resulting data. The curl loader does something like this. Or you could use a osgDB::Registry::Read/WriteFileCallback to de/encrypt the data before it gets read/sent from/to disk. -- Bryan Thrall FlightSafety International [EMAIL PROTECTED] _______________________________________________ osg-users mailing list [email protected] http://lists.openscenegraph.org/listinfo.cgi/osg-users-openscenegraph.org

