Validation

Tool to validate meshes for specific LOD types

Tool panel

Validation tool panel

Location

Object Builder tab in the 3D viewport sidebar.

Properties

  • Detect Type: detect the LOD type of the object being validated (only works if the object is set to be a LOD)

  • Type: LOD to validate object for

  • Warnings Are Errors: count warnings as errors when evaluating the results

Operators

  • Validate: run validation functions on the selected object


Process

The process is not infallible, the methods are rather simple, and only check attributes that can be validated efficiently, it may not detect obscure issues.

  1. for every LOD type is validated by the GENERIC ruleset at least

  2. special LOD types are subjected to specific rulesets

Rulesets

GENERIC

Errors:

  • mesh contains n-gons (faces with more than 4 vertices)

  • mesh has materials with non-ASCII characters

  • mesh has vertex groups with non-ASCII characters

  • mesh has named properties with non-ASCII characters

  • mesh has proxy path with non-ASCII characters

Warnings:

  • mesh has more than 2 UV channels

SHADOW

Errors:

  • mesh contains holes or is not manifold

  • mesh is not triangulated

  • mesh has smooth shaded edges

  • mesh has materials with non-empty texture and materials assigned

Warnings:

  • unconventional shadow resolution (not 0, 10, 1000, 1010 or 1020)

  • disabled by property (LODNoShadow = 1)

POINTCLOUD

Warnings:

  • mesh has edges

  • mesh has faces

GEOMETRY

Errors:

  • mesh has concave edges

  • mesh has no vertex masses defined

  • mesh contains holes or is not manifold (only if no occluder selections exist)

  • mesh has no component selections (only if no occluder selections exist)

Warnings:

  • mesh is not triangulated

  • mesh has vertex/vertices with no vertex mass assigned

Info:

  • distance of farthest point from origin

GEOMETRY SUBTYPE

Errors:

  • mesh has concave edges

  • mesh contains holes or is not manifold (only if no occluder selections exist)

  • mesh has no component selectiosn (only if no occluder selections exist)

Warnings:

  • mesh is not triangulated

ROADWAY

Errors:

  • mesh has no faces

Warnings:

  • mesh has more than 255 points (animations might not work properly)

  • mesh has no sound texture assigned

Info:

  • distance of farthest point from origin

PATH

Errors:

  • mesh has no faces

  • mesh has no entry points defined

Warnings:

  • mesh has no position points defined

UNDERGROUND (VBS)

Errors:

  • mesh has concave edges

  • mesh has no vertex masses defined

  • mesh contains holes or is not manifold

  • mesh has no component selections

  • mesh is not triangulated

  • mesh has smooth shaded edges

  • mesh has materials with non-empty texture and materials assigned

Info:

  • distance of farthest point from origin

GROUNDLAYER (VBS)

Errors:

  • mesh has no faces

  • mesh has no UV data or more than 1 UV channel

  • mesh has invalid UV values

Last updated