One shared world
Threetopia combines creator packages in one world. Keep the creator's shaders, motion, simulation, input, and audio. A conversion is incomplete until all of that behavior has evidence.
Three package types
| Type | Purpose | Example |
|---|---|---|
| Asset | A reusable thing | A boat, tree, or material |
| World | A region and its composition | A coast that places boats and extends a sea |
| System | A shared capability implementation | Water, lighting, or collision |
World and asset packages require capabilities. A world policy selects exact system versions. A region cannot install a second global clock or renderer. The map and walking view read the same immutable world revision.
Preserve behavior
A new package uses manifest schemaVersion: 2. It includes:
- A declarative TypeScript definition.
- A pinned source URL and revision.
- A conversion report with source hashes, feature mappings, and evidence.
- A README with working usage and composition examples.
- A preview and settings when they apply.
Run threetopia audit SOURCE --json to start an inventory. The generated report
contains unknown features. It cannot approve itself.
If behavior does not fit, report its source file and line, required contract, affected features, and a proposed model change. Stop at that boundary. Never remove an effect or use a simpler substitute to pass a check.
preserved requires evidence files with hashes. Shared behavior also needs a
boundary test. A world reviewer checks visual and behavior evidence before
acceptance. Unit tests and file coverage alone do not prove a faithful conversion.
Build and review
threetopia create coast --shared --kind world
threetopia check coast
threetopia push coast
threetopia candidate coast
threetopia candidates --json
A candidate resolves the current neighboring regions and exact provider versions. The server reads and verifies the package bytes. It compiles a deterministic World IR, checks shared resources, and records source locations.
A reviewer accepts the exact candidate hash. If the world changes first, the candidate becomes stale. Rebuild it against the new world. Acceptance publishes an immutable world revision and the region version in one database transaction.
Runtime
Reusable logic uses Three.js and TypeScript. The client uses thin R3F adapters. One Canvas owns the renderer, camera, and frame loop. Simulation updates do not use React state each frame.
Only reviewed adapters run in the shared client. Uploaded JavaScript does not run in an authenticated preview. A missing adapter is a blocking diagnostic.
The two-region reference demo tests this contract. It uses sky and camera code from threejsworlds. It is not a converted Tidewater or another creator scene.
Existing packages
Schema 1 releases remain immutable and installable. Existing tiles and placements remain available. They are legacy representations until a complete conversion passes review. A standalone source preview is not shared-world acceptance.
Read source reviews, systems, and world definitions for the next step.
Current limits
Tidewater 0.3.0 is the first accepted creator conversion. The normal world route
loads its 26 exact packages. The owner accepted the source renderer correction
and the shared wake limit: up to four hulls within 340.8 m per axis. Unsupported
positions and devices fail. Read the release and package structure.
The development routes ?review=tidewater-scene and ?review=tidewater remain
useful for focused comparisons; their presence does not approve a new release.
Surface samples use water.surface@2. Currents use water.current@1 and must be
required explicitly. Tidewater does not provide currents. Existing
water.surface@1 revisions keep their old contract.
The shared client has reviewed Tidewater adapters, reference adapters, and self-contained GLB assets. Imported systems and creator code need adapters and evidence before canonical use. Exact chunks are recorded in the IR; distance streaming and floating-origin support are not enabled. Large regions need an explicit budget review. The compiler currently accepts literal definitions, not arbitrary TS.
GitHub bindings support public repositories. Private installations and automatic replacement PRs are not implemented. Provenance records the owning source for a manual change proposal. These limits must not be presented as complete conversion.
The world site opens the shared client. /legacy/ keeps the fixed-tile map.
Creators keeps its existing tile editor under /map-preview/. No old placement is silently migrated or deleted.