Syntax

dbAddLODToObject(ObjectID, LODObject, Level, Distance.f)

Description

This command adds additional mesh levels to an existing object that will change over distance. The two additional models must be created from the same source and almost identical except for a different number of vertices. When modeling an object, these additional files are created by reducing the complexity of the polygons and saving out a simpler shape.

 

LODObject

Object ID of the object holding the new LOD mesh data.

 

Level

The ‘level’ parameter identifies which LOD level to assign the mesh data to. For example, use a value of 0 for the medium LOD and a value of 1 for the lowest LOD level.

 

Distance

The distance at which this LOD level is used in the scene.