THREE.JS / FOUNDATIONS 310

A vertex has a passport.

Compare traversal-oriented OBJ with attribute-rich PLY and surface-only STL. Export deterministic geometry, reload it through the real loaders, and make world-space transforms, flattening, endianness, indexing, and format loss explicit.

InitializingWEBGL2

Preparing PLYExporter, PLYLoader, STLExporter, and STLLoader…

export request
WAITING
mode / bytes
—
source vertices
—
reload vertices
—
triangles / indexed
—
attributes
—
source / reload bounds
—
custom / colors
—
sample
NOT RUN

ROUND-TRIP / WAITINGFORMAT / —

OBJ preserves world-space vertices, UVs, normals, lines, and points but no material files; PLY preserves selected vertex attributes but no textures; STL preserves surface triangles as non-indexed geometry without scene or material metadata. This is a partial interchange contract; whole-example fidelity remains separate.

Sources: OBJExporter · OBJLoader · PLYExporter · PLYLoader · STLExporter · STLLoader · official PLY example

LAB 310 / OBJ · PLY · STL INTERCHANGE CONTRACT