Friday, February 10, 2017

ND3D Is that possible 18KB SWF for MD2 animation

ND3D Is that possible 18KB SWF for MD2 animation


What?

- I use Away3D for web site, but sometime i do need smallest kb for banner limited size somehow (blame slow speed connection here ;)

Then?

its 2 options in my mind
1. Away3D : scale down by ripping no use class there
2. ND3D : implement MD2 animation by mod existing class by Philippe Ajoux (Wheres he now btw?)
the 2nd choice look...more challenge ;D

Result?

image- its quite easy to implement MD2 parser there cause ND3D is quite simply to understand, after 1 night pass by, here is 18k swf : http://sleepydesign.com/labs/as3/ND3D/MD2

More?

- thats it! actually its not much class added, also not much line changed/mod so swf size still small ever!
- it can be optimize somehow, nothing optimize yet really ;)
- it can be smaller, but 18kb already fine to me

Source?

- i forget to mention early, my F10 test and also this MD2 animation source code already sent to Lars, so do beg him if you really need them (sorry Lars i know you busy, dont blame me here ;P )

Next?

- hmm, dont know yet...maybe hello world PureMVC or maybe more F10 test ;P

Go to link Download