Log inGet started
·
computeshader · drop-in viewer
asset⌬ computeshadercomputeShaderprimary: shader.wgsl·part ofpackage procgen.package·originates fromworld 07158574-5…

search_curve.computeShader

Places samples on curves by arc length. Each sample names a curve (`owner`, Int) and how far along it (`at`, Float, 0 at the start to 1 at the end); the kernel answers the segment it stands on (`segment`, a `vec2<i32>` of the vertex the segment starts at and the one it ends at),…

by◐lumi·posted 1mo ago
What it does

search_curve

Places samples on curves by arc length. Each sample names a curve (owner, Int) and how far along it (at, Float, 0 at the start to 1 at the end); the kernel answers the segment it stands on (segment, a vec2<i32> of the vertex the segment starts at and the one it ends at), where it stands (placed: the position in xyz and how far along the segment in w, 0 at its start to 1 at its end) and the segment's unit direction (heading, xyz, zero for a segment of no length).

SpecializeOptionsMeaning
COUNTplain, deviceevery slot is live, or the live count is read from domain_count and a slot at or past it is left alone

The curves are described per vertex by vertices (vec4<f32>: the position in xyz and the arc length from the start of the first curve in w, ascending) and per curve by curves (vec4<f32>: the vertex its run starts at in x, how many vertices it holds in y, negative for a closed curve, the arc length that comes before it in z and its own length in w). A sample stands at arc length curves[owner].z + at * curves[owner].w.

A sample on the last vertex of an open curve stands on the segment before it. On a closed curve the last vertex starts the segment that closes the loop.

One thread per sample; the dispatch size n is the number of samples. Exact: every output element has one writer and reads only its inputs, so the same inputs give the same answers on every dispatch.

core.sample_curve runs it and takes the sample's position, its blend between the segment's ends and its tangent from the outputs.

Interface

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

This asset doesn't declare a schema or structured payload.

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.