think of it like this,

you put 100 models (10kb each) in a 1 .swf file. and it compresses it
to ~500kb.
now all you have to do is to load 1 swf file into flash and you will
have all of the models available.

i don't think there is socket connection that will download 1MB of
binary data faster than load a 500kb swf.

On Apr 28, 9:43 am, Michael Iv <[email protected]> wrote:
> GUYS you don't get me . I am not looking to a way to compress data but to
> load it quickly . Putting the model data in SWF will not give me mush . I am
> going to try put models in binary format into DB and then pull it with BLAZE
> and decode them into models back into my 3d program . I believe this can
> speed up models loading
>
> On Wed, Apr 28, 2010 at 10:23 AM, jens lofberg <[email protected]>wrote:
>
>
>
> >  Hi
> > A very simple way of compressing data is to compress it with flash. Put
> > your data in a fla, choose compress option and export as swf. Then you just
> > have to load the swf and  extract the data.
>
> > jens
>
> > Michael Iv a écrit :
>
> > I don't have concrete work to do , just thinking about this . I also don't
> > think the size matters , I mean after converting to ByteArray the size
> > doesn't really change . But sending it over AMF speeds up loading of the
> > data . For instance , from the AMF documentation it comes out that  sending
> > binary data via AMF is 10 times faster then doing it with XML ,and I know
> > this from the actual projects I have done with BlazeDS. Now , think about it
> > when here we msotly dealing with DAE(=XML) formats .Think about having
> > Avatar that your user can customize ( having 100 models ready in background
> > is going to be a problem),switching models in no time! The real problem I
> > think is going to be to test the actual speed , because I have no BLAZEDS
> > deployed on a WEB .
>
> > On Tue, Apr 27, 2010 at 10:30 PM, savagelook <[email protected]
> > > wrote:
>
> >> How big are the models?  How much smaller are they when you convert
> >> them to a binary format?  I would imagine the difference would have to
> >> be VERY big for this type of setup to gain you anything in terms of
> >> loading speed.  Have you tried loading your models into prefab and
> >> exporting them as AS3 classes?
>
> >> On Apr 27, 2:54 pm, SasMaster <[email protected]> wrote:
> >> > I have got a theoretic question. I am thinking about ways to speed up
> >> > models loading time. Now ,what if I put a few models in binary format
> >> > in a database(let's say I insert them from flash using bytearray from
> >> > a kind of managing administrator interface) , then use BlazeDS or LCDS
> >> > to get them into Application using AMF and then building the model
> >> > from this binary data ? Would it work ?
>
> >> > --
> >> > Subscription settings:
> >>http://groups.google.com/group/away3d-dev/subscribe?hl=en
>
> > --
> > Michael Ivanov ,Programmer
> > Neurotech Solutions Ltd.
> > Flex|Air |3D|Unity|
> >www.neurotechresearch.com
> > Tel:054-4962254
> > [email protected]
> > [email protected]
>
> --
> Michael Ivanov ,Programmer
> Neurotech Solutions Ltd.
> Flex|Air |3D|Unity|www.neurotechresearch.com
> Tel:054-4962254
> [email protected]
> [email protected]

Reply via email to