Files
engine/docs/en/graphics/model/opt.md
2024-08-05 16:03:57 +08:00

1.1 KiB

order, title, type, group, label
order title type group label
6 Model Optimization Graphics Model Graphics/Model

Model optimization generally starts from the following points:

  • Mesh: Reduce the number of vertices and faces, compress mesh data
  • Texture: Adjust texture size (e.g., from 1024 * 1024 -> 512 * 512), use compressed textures
  • Animation: Compress animation data

Best Practices

In the editor, we can optimize the model in the following ways:

  1. Use Quantize to compress mesh data. When exporting the project, check the GlTF Quantize option to quantize and compress the mesh.
  2. Use Meshopt to further compress mesh data.
image-20240228171935612

Compression may affect the precision of the model mesh, but in most cases, it is difficult to distinguish with the naked eye.