Skip to main content

Mesh Count Range

Ensures the total number of meshes within a file falls within a specified range.

Parameter table

paramunitrequireddescription
minMeshCountnoThe minimum acceptable number of meshes in the file.
maxMeshCountnoThe maximum acceptable number of meshes in the file.

Detailed description

This rule is designed to ensure that the number of meshes within a file is within a certain acceptable range. The rule checks the current mesh count against the specified minimum (minMeshCount) and maximum (maxMeshCount) bounds.

This rule is crucial for maintaining a balance between detail and performance, especially in applications where optimization is key, such as in gaming, virtual reality, and 3D visualization applications.

How to setup

The 'Mesh Count Range' rule helps ensure that the number of meshes in a file is optimized for performance without compromising on necessary details.

Key parameters include:

  • minMeshCount: Sets the minimum number of meshes a file should contain to ensure sufficient detail.
  • maxMeshCount: Establishes the maximum number of meshes to prevent performance degradation. Both parameters are optional but at least one is required.

Adjust these parameters based on the performance and detail requirements of your project to maintain an optimal balance.

Creator tips

  • When designing models, consider the final application and its performance requirements to determine an appropriate range for mesh count.
  • Use mesh optimization techniques, such as merging similar meshes or simplifying complex meshes, to stay within the target range.
  • Regularly review the mesh count during the modeling process to avoid having to make significant adjustments later on.

Examples

valuevalidmaxMeshCountminMeshCountdescription
die16A single mesh die
peugeot-206100A Peugeot 206 composed of approximately 28 meshes