Author Topic: Model Size Issue  (Read 1421 times)

Offline JKumar

  • byte
  • *
  • Posts: 33
    • View Profile
Model Size Issue
« on: December 09, 2010, 11:39:49 am »
HI,
       
        Is there any way to reduce the .ser file size as my single md2 is around 700-800 kb but when serialized it goes to 3.5-4.5 MB which is increasing the size.And my app is required to have 15-20 models.

Any way to reduce the file size?

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12011
    • View Profile
    • http://www.jpct.net
Re: Model Size Issue
« Reply #1 on: December 09, 2010, 11:56:37 am »
  • Make sure that you serialize it in reduced mode.
  • Remove unneeded sequences before serializing if possible. Animation has a method for this.
  • Zip the file. The serialized output compresses pretty well.

However, 15-20 individual models sounds pretty much for the limited memory of the Dalvik VM...