Description | Example | Return message | Group

VO ModelDetail

Assign a level of detail to a model

Syntax

VO <ObjectPath> ModelDetail {On | Off | Set} [{LevelOption} <value>]...

Related commands

Description

The VO ModelDetail command enables you to set the level of detail used when drawing a model in the 3D window. As an aid for improving the performance of 3D Graphics, you can choose to enable detail thresholds to manage viewing for an object. Using these thresholds, the viewer sees either more or less detailed models and graphics in the 3D window, depending on the distance of the object from the viewer. The threshold distances, or {LevelOptions}, specify when to switch between levels.

Syntax ElementDescription
{On | Off | Set}For On, you can specify at least one {LevelOption} <Value>. If you don't specify a {LevelOption} <Value> the parameters set previously are used or the default values are used.

For Set, you must specify at least one {LevelOption} <Value>. If you don't specify a {LevelOption} <value> Connect will return a NACK.

{LevelOption} <Value>LevelOptions are: All ModelLabel MarkerLabel Marker Point You can specify one or more LevelOptions. If you are setting multiple values, you must set the values in the order specified above. Each LevelOption relies on the next to validate the <value> for that level, in the order specified. Enter the upper limit thresholds (or Maximum Viewing Distance) for each level. <values> are specified in Connect distance units.

The value set for any LevelOption must be greater than the value of the level after it. If you set a <Value> that is lower than the <Value> entered for the LevelOption after than the current one, Connect will return a NACK.

Examples

To assign threshold viewing levels for the Hubble model:

VO */Satellite/Hubble ModelDetail Set ModelLabel 8000000 MarkerLabel 16000000 Marker 24000000

To assign threshold viewing levels for the Facility1 model:

VO */Facility/Facility1 ModelDetail Set ModelLabel 8000000 MarkerLabel 16000000 Marker 24000000 Point 48000000

Return message

Group membership

This command belongs to the following group(s):

Facilities, Places & Targets

Vehicles

VO

VO Objects

Version

6.1.2