ross-g / io_pdx_mesh

Import/Export files for the Clausewitz game engine
GNU General Public License v3.0
88 stars 11 forks source link

mesh export wrong result #71

Closed Avatar1987 closed 2 years ago

Avatar1987 commented 2 years ago

the result after exporting does not correspond to the same properties

it behaves as if "Split all vertices" is enabled

from an object with ~30k vertices, an object with ~170k vertices is created

there are no modifiers on the objects

ross-g commented 2 years ago

This is completely normal depending on the other qualities of your mesh. On export vertices are split along UV seams, hard edge Normals and Material boundaries.

See Discussion https://github.com/ross-g/io_pdx_mesh/discussions/66 for an example.

Exporting is not the same as Saving, you should expect the file that is exported to have changed as it's being prepared for the game engine to render.

Avatar1987 commented 2 years ago

yeah we figured out it only happens with flat shading not with smooth shading