Skip to content

0.7.0: renderer realism; removing, replacing and orienting parts - #69

Merged
ProjectIdris merged 6 commits into
mainfrom
batch-3
Nov 8, 2026
Merged

ProjectIdris merged 6 commits into
mainfrom
batch-3

Conversation

@ProjectIdris

Copy link
Copy Markdown
Owner

Summary

Version 0.7.0: renderer realism, and fixes for faults found in real use (removing, replacing and orienting parts).

Renderer realism

  • Studio environment built in code: a gradient dome with softbox, strip and overhead lights, pre-filtered once. No image asset, no licence, no download.
  • Physical material recipes per library material: steel, iron and brass have grain and form, polished metal has highlights.
  • Fine surface: roughness grain on mid and high, bump on high, fading where a pixel covers the grain. The pcb material draws solder mask, copper traces, gold pads and silkscreen on any board, scaled by board size.
  • Contact shading on mid: 16-sample ambient occlusion at half resolution, at the original strength.
  • Rounded creases on hulls and tapered extrusions.
  • Faster first paint: one shared program per tier and a non-blocking prewarm at overlay start. Cold first paint is faster than before on every tier (low 282 to 155 ms, mid 550 to 311 ms, high 1,292 to 334 ms). A question asked within about 3 s of the overlay loading is slower while the prewarm finishes.

Removing, replacing and orienting parts

  • clear reads id as its target, and id-ops read target as id, each with a note. A model's removals written with id were all being dropped.
  • Re-adding to replace: a follow-up may write an id still on screen again, and it replaces that part, keeping attached children, with a note.
  • Facing rule: kit parts declare a facing (ports, lenses and screens face +z; chips, headers, buttons and fans face +y). Attached by a face of its parent with no rot, a part turns to face out of that face, with a note. An explicit rot, even [0,0,0], stands.

Validation

  • Each part was independently reviewed by a second reviewer, not its author, with fixes rechecked. New tests were seen failing first.
  • On the combined branch, 151 tests across the affected files pass; typecheck clean.
  • Replaying a real user session (a Raspberry Pi in five questions): the three wrongly facing ports now face outward, the correct ones are unchanged, and the seven removals go through. All 58 sample and fixture scenes, and 84 saved answers apart from that one, come through unchanged.
  • Realism was judged on re-rendered saved answers, on light and dark pages, and on six live Sonnet answers. Mechanical subjects are clearly better; organic subjects change little.
  • GPU render time (engine): low 1.6 ms, mid about 8 ms, high 10.1 ms.

Review limits

  • Live answers taken once per question.
  • The overlay re-pays its prewarm when its window is recreated.
  • Without parallel shader compile (software renderer) the prewarm blocks startup briefly.

🤖 Generated with Claude Code

ProjectIdris and others added 6 commits November 8, 2026 22:06
…s the field it wants

clear names its subject target while every other op says id; a model wrote clear id seven times in one answer and every one was dropped as missing target, so the old parts stayed. The validator now reads id as target on clear, and target as id on the ops that take an id, with a note; a field in its own name wins and an unknown id is still refused.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…and an id written again in a follow-up replaces the part

A port, lens, screen, chip, header, button or fan declares which way it faces; attached by right, left, top, bottom, front or back of its parent with no rot, the validator turns it so its facing points out of that face and says so in a note. A rot the model wrote, even [0,0,0], stands, as does a part attached by the very side it faces, a part with no facing (a wheel, a gear) and a parent anchor that is not on that side. The guide gives the rule and the facings in place of the port-only sentence.

A new answer may write any id left on screen by the last one again: it replaces the part (children stay attached), with a note; an id the answer wrote itself is still unique, and clear then add still works. A detail pass replaces by design and says nothing. The guide says so in one sentence.

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
… surface and procedural board, light occlusion on mid, rounded hull and tapered edges

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
…h, one shared program per tier for the fine surface, a prewarm of the surfaces and finishing pass, board pattern scaled by board size, lighter crease rounding on polished metal

Co-Authored-By: Claude Sonnet 5.5 <noreply@anthropic.com>
Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
@ProjectIdris
ProjectIdris merged commit 3baf23f into main Nov 8, 2026
2 checks passed
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