www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: Thomas. on March 17, 2012, 11:19:49 am

Title: Serialized objects
Post by: Thomas. on March 17, 2012, 11:19:49 am
What exactly mean reduced in serialize method?
Title: Re: Serialized objects
Post by: EgonOlsen on March 17, 2012, 12:17:55 pm
It removes data that jPCT-AE doesn't load anyway.
Title: Re: Serialized objects
Post by: Thomas. on March 17, 2012, 03:46:06 pm
And is it what? :)
Title: Re: Serialized objects
Post by: Thomas. on March 17, 2012, 08:51:26 pm
I tested speed of loading and size of OBJ, 3DS and SER formats, here are results :) ... both files have 12000 triangles, 36000 vertices and same topology.

(http://dl.dropbox.com/u/26148874/format%20test%20size.png)(http://dl.dropbox.com/u/26148874/format%20test%20time.png)
Title: Re: Serialized objects
Post by: EgonOlsen on March 17, 2012, 09:45:39 pm
Interesting...reduced=true removes data that is needed for the software renderer in desktop jPCT. There's absolutely no point in loading something on Android that hasn't been saved in reduced mode.
Title: Re: Serialized objects
Post by: Thomas. on March 18, 2012, 01:54:39 pm
Ok thanks ;)