Repository navigation
Add the director to the golden_line example - #354
Merged
Merged
Conversation
…ixes pre-alpha146 fixes TSLANG 234-240 (and 242, 244 with them), so the golden_line modules go back to the code the original writes: - the rng.js / plume.js hashes in hex with >>> (no ushr/unsigned helpers) - water empties one grid across cells; textures and plume empty their arrays through their locals - treegen's emitTube reads `const pts = tube.pts` - the station assigns its name with the rest of the plan - the tender warps its coal lump with a closure, as tender.js does Kept, because the real modules still fail under --own-fallback=error though the small repros pass: world.ts's slot tables and bag refill, the saloon's chair closures, traingeo's geoTake, the cab's limb closures (TSLANG 246). Every example builds on gc and own; full ctest 535/535 on both; golden_line frames and train dumps identical. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Port the original's director (cameraman.js): director mode cuts from take to take every 6 to 10 seconds in the original's running order, times a cut to a tunnel exit or a viaduct coming up (naturalStart), and sends the train on down the line when the next take needs somewhere else, cutting once that place has streamed in (up to 7 s). -director, the D key or the panel's Director checkbox turn it on; by hand the keys 1-5 and C (and the panel) select a camera through the same wait, and dragging with the left button looks about within each shot's limits. The chunks and water bodies are kept about a second place (streamer.js's second focus), built a piece every quarter second, or every frame once the cut waits for it. Every cut now snaps the train and the water, as onCut does. BridgeRig normalizes as three does (times 1 / length), fixing a 1-ulp difference in the viaduct camera. The cut sequence matches the original's bit for bit over 900 s (107 cuts, 30 jumps) under node vs the tslang JIT; the golden_line views are unchanged but for the panel's new checkbox. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
naturalStart.-director, the D key, or the new Director checkbox in the panel.select. A take that needs somewhere else waits for that place to stream in before it cuts; it no longer jumps the train there at once.onCutdoes. Before, ourwater.cut()was never called.1 / length). This fixes a 1-ulp difference in the viaduct camera.Verification
-director -hiddenWindow) makes the same cuts at the same times, with jumps to the same places.rotateOnWorldAxis/rotateX/rotateZto 9 decimals.ctest -R golden_linepasses 6/6.Known
🤖 Generated with Claude Code