Skip to content

Examples: Add TileCreasedNormalsPlugin.#33767

Merged
mrdoob merged 1 commit into
devfrom
3dtiles
Jun 10, 2026
Merged

Examples: Add TileCreasedNormalsPlugin.#33767
mrdoob merged 1 commit into
devfrom
3dtiles

Conversation

@mrdoob

@mrdoob mrdoob commented Jun 10, 2026

Copy link
Copy Markdown
Owner

Related issue: #33292

Description

Google Photorealistic 3D Tiles ship without vertex normals, so webgl_loader_3dtiles computes creased normals for every loaded tile. This ran synchronously on the main thread during tile parse, causing visible hitches while navigating.

This PR adds TileCreasedNormalsPlugin (examples/jsm/misc/), which computes the normals in a Web Worker instead.

/fyi @shotamatsuda @gkjohnson

Computes creased vertex normals for 3D tiles in a Web Worker so tile
processing doesn't block the main thread.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@mrdoob mrdoob added this to the r185 milestone Jun 10, 2026
@mrdoob mrdoob merged commit bb5ecbc into dev Jun 10, 2026
14 of 15 checks passed
@mrdoob mrdoob deleted the 3dtiles branch June 10, 2026 13:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant