Hi Johannes,
Johannes Brunen wrote:
> Hi,
>
> today I have to report a problem I encountered on storing a scene into
> the 'bin' file format and subsequentially reading it two times. Below
> you can find a very simple program showing the problem. Running this
> program crashes on my vc-7.1 windows box. Actually, the problem has
> something to do with Image which is shared among the multiple
> TextureChunks. However, I was unable to track down the problem.
>
> If I store the scene into the 'osb' file format instead of the 'bin'
> file format I do not have problems.
>
> What is the recommended binary file format. Which is the more robust
> one. I read the entries in the mailing list but I do not have enough
> information to rate it against the 'bin' file format.
>
OSB is definitely the recommended format. BIN is really a straight dump
of the internal data structures with no provisions for changes in the
format whatsoever. It would be fairly safe to say that BIN will break
between versions, and probably between operating systems, too.
Don't use BIN, use OSB. It's not perfect, but much better.
Yours
Dirk
-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Opensg-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/opensg-users