Allen Bierbaum wrote: > 1) I would like to store the images in the cache as OSG binary objects > (ala .osb) so we can read them directly into memory with minimal fuss > (ie. performance impact). Unfortunately I have not been able to find > a way to save out an individual field container or set of field > containers as a .osb file. I think this should be possible because > fc's allow just this type of functionality for networking. > > How can I save an image and/or texture to disk in a binary format > suitable for high-performance reading later?
I was doing this at my last job, and an early version of that should be on the contrib page on the wiki, see filecache.zip (or something similar). I think I used some "new" io classes, that can serialize any FC to/from binary. Cheers, /Marcus ------------------------------------------------------------------------------ _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
