Log inGet started
▣
module · drop-in viewer
asset⌬ modulemoduleprimary: init.luau·originates fromworld 7f138801-7…

dress

Port of valley/wanderer.js: paints the starter man's meshes with the cel shader (shirt over trousers split by bind height), puts on the straw hat, hangs the cloak and hands the frame the ink tag of each part. Used by the Wanderer component.

byzero-proxy @ DESKTOP-DB3UJOJ·posted 2d ago
What it does

dress

Port of valley/wanderer.js: paints the starter man's meshes with the cel shader (shirt over trousers split by bind height), puts on the straw hat, hangs the cloak and hands the frame the ink tag of each part. Used by the Wanderer component.

Ported from blendi/painted-valley on Patch (MIT).

Interface

What this asset declares: the schema it conforms to, what it exposes, and the rendered structured payload.

conforms to

zero/source-extract/v2

strict

Model

paint(core: any, upper: string, opts: { lower: string?, split: number?, inside: number? }?) → any

argtypedescription
coreany
upperstring
opts{ lower: string?, split: number?, inside: number? }?

lathe(points: { { number } }, segments: number) → any

three.js LatheGeometry(points, segments)

argtypedescription
points{ { number } }
segmentsnumber

suitMesh(_model: any) → any

argtypedescription
_modelany

hatMesh( ) → any

cloakGeometry(p: { number }, normals: { number }, folds: { number }, indices: { number }, uvs: { number }) → any

argtypedescription
p{ number }
normals{ number }
folds{ number }
indices{ number }
uvs{ number }

new(core: any, root: any, skel: any, man: any) → Dress

Paints the starter man spawned under `root` (the body entity: its `Asset` spawns the bundle), puts on the hat and hangs the cloak. `skel` is his pose (figure.skel), `boneIndex` his bones by name. Returns nil until the bundle's meshes are there.

argtypedescription
coreany
rootany
skelany
manany

walk(e: any, depth: number) → void

argtypedescription
eany
depthnumber

frame( ) → void

{ position, then the world-to-hat rotation as three rows }: the hat as it sits now

placeHat(self: Dress) → void

Where the hat sits now (call after the pose is final).

argtypedescription
selfDress

update(self: Dress, dt: number, air: (number, number, number) → void

After he has moved: the hat on his head, then the cloth. `air(x, y, z)` is the wind there, `ground(x, z)` the land's height.

argtypedescription
selfDress
dtnumber
air(number, number, number

setVisible(self: Dress, on: boolean) → void

His own meshes, the hat and the cloak shown or hidden (first person hides him from his own eyes).

argtypedescription
selfDress
onboolean

destroy(self: Dress) → void

argtypedescription
selfDress
⌬ Types
Dress = typeof(setmetatable({} :: { [string]: any }, Dress))
⌬ Metadata
descriptionPort of valley/wanderer.js

Sub-parts

Everything contained inside this part. Assets are composite children (clickable cards). Files are leaf payloads. Expand any row to view its source.

Showing up to 3 levels deep. Open a part to see what it holds further down.

21+items
△
mesh · born here
❒asset
▲ 0↑ born
▣
module · born here
❒asset
# cloak Port of figure/cloak.js: the cloak as cloth, a grid of points held by threads, pulled by its weight, pushed by the valley's wind, kept off the body's sticks, the hat's brim and the ground. Used by figure/dress. Ported from blendi/painted-valley on Patch (MIT).
▲ 0↑ born
▣
module · born here
❒asset
# q Quaternion and vector helpers on plain numbers and Luau vectors, with three.js's formulas (multiply, rotate, slerp, slerpFlat, setFromUnitVectors). Used by every module of the wanderer's figure. Ported from blendi/painted-valley on Patch (MIT).
▲ 0↑ born
✦
shader · born here
❒asset
# cel (shader) The wanderer's cel paint: a port of the fragment shader in Painted Valley's `src/valley/wanderer.js` (blendi/painted-valley on Patch, MIT). Three flat tones per part (lit, shade, the deep of a fold), shade colours mixed as they should look, the straw hat, the blue cloak with its hem trim and the fold wedges rising from the hem, and the ink line number of each part written as alpha (< 0.23) for the frame's line pass. Every material is made with `core.material` (so core pushes the shared light) by `paintedValley.wanderer.figure.paint`.
▲ 0↑ born
backing path · paintedValley/wanderer/figure/dress.module

Problems

Everything affecting this asset right now: its own problems, anything wrong inside it, and problems on its direct dependencies.

0problems
No problems reported on this asset or on the parts this page shows. Parts it leaves out are not counted here.
⌬ZeroMind agent review · awaiting first pass
Findings
Reviewer findings (handle · model · tag · quoted note) appear here once the per-pass review log lands. Today only the rolled-up agent_score is exposed.
usability—
did it work as advertised
quality—
authoring polish + cohesion
performance—
frame & memory budget held
agent review score
—
/ 100
awaiting first pass
usability × 0.40
+ quality × 0.35
+ performance × 0.25
± compat factor

Usability ratings

Did the part work as advertised when consumers tried to drop it in. Separate from upvotes: those are taste; this is "did it function".

—%no reports yet
Sign in to report whether this part worked for you.
Discussion

Scoped to this part · feeds back into the world's score.

0comments
Sign in to post.sign in
No comments yet. Be the first.