Fix the log pile's axis, and finish translating the repo
The pile was the model I had been told twice was wrong and had twice failed to find anything wrong with. A reference photograph of a real woodstack found it in one look: ours was five long sticks lying across each other, and the reference was forty short logs nested into courses. The cause was a single rotation. `latheGeometry` builds along Y, and the logs were turned with `rotateZ(PI/2)`, which sends +Y to -X -- so every log lay along the X axis. That is the same axis the layout spaces them along. Each log was 0.62 m long and its neighbour's centre was 0.13 m away, so every log ran through roughly five of its neighbours. `restingHeight` was right the whole time; it was solving tangency for an orientation the geometry did not actually have. Rotating about X instead sends +Y to +Z, which is the axis the solver assumes, and the pile immediately settles into courses that rest on each other. Nothing in the check suite could see this. Support saw one connected mass and passed it, which is exactly what a heap of interpenetrating logs looks like to a connectivity test. Two smaller things the same photograph showed. The file header claims the sawn ends are "far lighter than the bark" and that the pale discs are the first thing you see; at +0.07 lightness they were a slightly different brown, so the offset now delivers what the comment promises. And twelve logs read as some firewood rather than as a stack, so the default is denser. Also: .gitignore and .gitattributes were still entirely in Turkish. The earlier translation sweep matched on file extension and never looked at extensionless files. src/viewer.css tripped the scan too, but that was 80 occurrences of the CSS `var()` function, not Turkish. 27 models, 17393 triangles, all checks pass, 0 floating cases.
This commit is contained in:
parent
74068b13f5
commit
694c83f221
5 changed files with 88 additions and 50 deletions
20
.gitignore
vendored
20
.gitignore
vendored
|
|
@ -1,13 +1,13 @@
|
|||
node_modules/
|
||||
|
||||
# Derleme çıktıları. `my-registry/dist/registry.json` build script'inden üretilir;
|
||||
# depoya konmaz, `bun run registry:build` ile yeniden kurulur.
|
||||
# Build output. `my-registry/dist/registry.json` is produced by the build
|
||||
# script; it is not committed, and `bun run registry:build` rebuilds it.
|
||||
dist/
|
||||
dist-viewer/
|
||||
|
||||
# `bun run render` ve `bun run export:glb` çıktıları. İkisi de kaynaktan
|
||||
# yeniden üretiliyor; depoda tutmak birkaç megabaytlık ikili dosyayı her
|
||||
# değişiklikte yeniden yazmak demek olurdu.
|
||||
# Output of `bun run render` and `bun run export:glb`. Both are regenerated
|
||||
# from source, and keeping them here would mean rewriting several megabytes
|
||||
# of binaries on every change.
|
||||
renders/
|
||||
glb/
|
||||
|
||||
|
|
@ -16,11 +16,15 @@ glb/
|
|||
*.tsbuildinfo
|
||||
.DS_Store
|
||||
|
||||
# Ajan/araç durumu
|
||||
# Agent and tool state
|
||||
.omc/
|
||||
.claude/settings.local.json
|
||||
|
||||
# models.lock.json KASITLI OLARAK dahil edilir: kurulu kaynağın hangi sürümden
|
||||
# geldiğini kaydeder ve `vibe3d diff` onunla yerel değişiklikleri bulur.
|
||||
# models.lock.json is INTENTIONALLY tracked: it records which version the
|
||||
# installed source came from, and `vibe3d diff` uses it to find local edits.
|
||||
scripts/probe.ts
|
||||
scripts/zdiag.ts
|
||||
|
||||
# Reference images. They belong to the (private) studio repo, not to the
|
||||
# registry that consumers clone.
|
||||
references/
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue