Author Topic: where is the .ser File come form  (Read 4082 times)

Offline lcy111011

  • byte
  • *
  • Posts: 6
    • View Profile
where is the .ser File come form
« on: November 17, 2010, 08:16:31 am »
i tried import a model into the Demo ,but still need the ser file,idon't know what's the ser file,for help~~ ???
android Rookie

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: where is the .ser File come form
« Reply #1 on: November 17, 2010, 08:22:08 am »
The .ser file is a file that has been written by the DeSerializer class from desktop jPCT. It's a good idea to load models with the desktop version, call build() on them and then use the DeSerializer to write a serialized version of them to disk that can be loaded by jPCT-AE very fast compared to using the normal model loaders in AE directly.

Offline lcy111011

  • byte
  • *
  • Posts: 6
    • View Profile
Re: where is the .ser File come form
« Reply #2 on: November 17, 2010, 09:11:47 am »
thank you,but i don't know how to serialize a mesh by DeSerializer class
android Rookie

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: where is the .ser File come form
« Reply #3 on: November 17, 2010, 09:27:52 am »
load it, build it, serialize it. You should be able to find something about this here in the forums.

Offline lcy111011

  • byte
  • *
  • Posts: 6
    • View Profile
Re: where is the .ser File come form
« Reply #4 on: November 17, 2010, 11:57:15 am »
thanks,i'll try
android Rookie