Version: 
Back to list

Scenario :: generateLODChain

Synopsis

   Automatically generates 3 LODs for the current selection.

GUI Dialog

   

Script function

   scenario.generateLODChain(occurrences)

Parameters

   occurrences (OccurrenceList) : Scene paths of components to process

Documentation

About the scenario

This scenario automatically creates Level of Details (LODs) out of each mesh present in the scene (more information about LODs here)

LOD0 level is the original mesh. LOD1 and LOD2 levels are created by decimating the initial mesh (see Decimate function), each time with stronger, more destructive values.
Parts are renamed with a suffix (_LODn) to fit the naming convention handled by most game engines to automatically add LODs behaviors.

This scenario works for meshes only (requires the selected parts to be tessellated first).

To go further

Refer to the Output window to check all the algorithms applied step-by-step during scenario execution.

Build and execute your own script by checking the equivalent Python script available in the "Sample Script Directory" (accessible from the Help menu).