For encyption perhaps the easist route is to encrypt the geometry and
imagery without altering the validity of the data i.e. a Vec3Array
stays a Vec3Array of the same size but the data is mangled and only
you know how to unmangle it.  This would allow you to save and load
files using all the normal OSG mechanisms, only with a preprocess of
the scene graph to mangle it before saving, and post process to
unmangle it after loading.

The other route is to write a custom streambuf that supports
encryption/decryption.

Robert.
_______________________________________________
osg-users mailing list
[email protected]
http://openscenegraph.net/mailman/listinfo/osg-users
http://www.openscenegraph.org/

Reply via email to