Capítulo 598 de 859

Chapter 598: SimplifyModifier

Core Idea

This class can be used to modify a geometry by simplifying it. A typical use case for such a modifier is automatic LOD generation.

The implementation is based on Progressive Mesh type Polygon Reduction Algorithm by Stan Melax in 1998.

Code Examples

const modifier = new SimplifyModifier();
geometry = modifier.modify( geometry );
  • What it demonstrates: Typical usage of SimplifyModifier.

Reference Tables

Constructor

Signature
new SimplifyModifier()

Methods

MethodDescription
.modify( geometry : BufferGeometry, count : number ) : BufferGeometryReturns a new, modified version of the given geometry by applying a simplification. Please note that the resulting geometry is always non-indexed.

Key Takeaways

  1. Key methods: modify.

Connects To