> I have a small AS3 package ready that loads those files via URLStream
> and deserializes the tables. Sweet. All i have to do yet is figure out
> how exactly the tables are linked (not too hard either) to write a
> simple browser app, so that i can browse through the entire Digital
> Chart of the World. I guess i have something to show next week.
>
> Ultimately, the last step is to take the data (or rather, parts of it)
> and render it. That's probably not as easy as it sounds, but i guess
> it's worth a try. At least that would give a nice demo.

Update:
I managed to render the data now.

If you have the Flash Player 8.5 alpha installed, check it out:
http://codeazur.com.br/stuff/flex2/vmap0/

I'm loading more than 3MB of binary data into the Flash Player,
deserialize the data while loading using URLStream, and finally draw
the worldmap (around 250.000 lineTo commands, more than 2.000 shapes).
The binary files i'm loading are the original VMap0 Library Reference
files. After the files are cached, the map renders in around 5 seconds
on my machine (delayed via enterframe event, 100fps).

I could possibly start rendering while the data is still loading but oh well.

The only drawback: it eats a helluva memory ;)
cheers,
claus.

_______________________________________________
osflash mailing list
[email protected]
http://osflash.org/mailman/listinfo/osflash_osflash.org

Reply via email to