A 3d scene in flash will have several MB to hundred MB (model, texture, skybox, xml, animation, sound….). For a commerical game we need to deal with hundres of scenes, characters and props. We also need to compress, encrypt, bluk loading these file too.
What is the best practice how to store and transfer 3d data?
(1) Embed them all into main swf.
Advantage: Simplest method
Disadvantage: main swf will be large and partly update is impossible
(2) Compress and encrypt each single file using bulk loading
Advantage: Also Simplest method
Disadvantage: Slow transfter and heavy web server loading. Model file like .obj have direct link to .mtl and texture.
(3) Put the whole scene data into one swf
Advantage: Easy manage, good compression for image/video, low web server loading.
Disadvantage: no encryption? Model file like .obj have direct link to .mtl and texture.
(4) Compress and Encryption the whole scene data into one zip
Advantage: Easy manage, have encryption, low web server loading.
Disadvantage: Model file like .obj have direct link to .mtl and texture. Image organization is wroser than method 3.
I know most 2D game use Method 3 but seems there is no support for 3D model (or I am wrong?)
For those who need encryption (like me), I think method 4 will be the best choice. But I still need to deal with .obj Loader (rewrite loader).
Am I right? Any more suggestion on this topic?