www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: lcy111011 on November 17, 2010, 08:16:31 am

Title: where is the .ser File come form
Post by: lcy111011 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~~ ???
Title: Re: where is the .ser File come form
Post by: EgonOlsen 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.
Title: Re: where is the .ser File come form
Post by: lcy111011 on November 17, 2010, 09:11:47 am
thank you,but i don't know how to serialize a mesh by DeSerializer class
Title: Re: where is the .ser File come form
Post by: EgonOlsen 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.
Title: Re: where is the .ser File come form
Post by: lcy111011 on November 17, 2010, 11:57:15 am
thanks,i'll try