Author Topic: Will serialization decrease the faces of a .obj file?  (Read 1677 times)

Offline ScienceHill

  • byte
  • *
  • Posts: 3
    • View Profile
Will serialization decrease the faces of a .obj file?
« 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.

Offline EgonOlsen

  • Administrator
  • quad
  • *****
  • Posts: 12295
    • View Profile
    • http://www.jpct.net
Re: Will serialization decrease the faces of a .obj file?
« Reply #1 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.