An automation script for Autodesk 3ds Max that rapidly generates Levels of Detail (LODs) for game assets using the ProOptimizer modifier.
Creating LODs manually is tedious. This tool takes your high-poly mesh and automatically generates three lower-resolution variants, maintaining the original naming convention for easy integration into game engines like Unreal or Unity.
- One-Click Generation: Select objects and run the script to generate all LODs instantly.
- Standardized Reduction:
- LOD1: 50% vertex count.
- LOD2: 25% vertex count.
- LOD3: 10% vertex count.
- Non-Destructive: Clones the original object, leaving your source mesh untouched.
- Stack Collapse: Automatically collapses the modifier stack on generated LODs for clean geometry.
- Autodesk 3ds Max (Requires
pymxssupport).
- Open 3ds Max.
- Select one or more mesh objects.
- Run the script
Scripts/AutoLod.py(Scripting > Run Script...). - The tool will create new objects in the scene:
ObjectName_LOD1ObjectName_LOD2ObjectName_LOD3
The automation logic.
create_lods(): The main entry point.- LOD Logic: Defines a dictionary of levels (
{1: 50.0, 2: 25.0, 3: 10.0}). - ProOptimizer: Applies the
ProOptimizermodifier to clones of the selected mesh, sets the vertex percentage, calculates the reduction, and collapses the stack to bake the changes.
This project is licensed under the MIT License - see the LICENSE file for details. Copyright (c) 2026 ARGUS