www.jpct.net

jPCT-AE - a 3d engine for Android => Support => Topic started by: ScienceHill on December 13, 2017, 11:14:36 pm

Title: Will serialization decrease the faces of a .obj file?
Post by: ScienceHill on December 13, 2017, 11:14:36 pm
Hello. Suppose I have an .obj file which has 10,000 faces (polygons). After I serialized it with the jPCT-AE Mesh Serializer at here: https://sourceforge.net/p/meshserializer/home/Home/ , I got a .ser file. And I can render it on my Android phone. I just wonder whether the number of faces of this .ser file is also 10,000? In other words, will the number of faces of the .obj model decrease after serialization? Thanks in advance.
Title: Re: Will serialization decrease the faces of a .obj file?
Post by: EgonOlsen on December 14, 2017, 09:38:57 am
No, not after serialization but maybe before, after loading the model. In some cases, jPCT-AE will optimize away (or add new) faces to an object at load time. But actually, that's very rare and applies to strange models only.