Skip to content

Ariadne: a repeated node's {i} reaches its live texture's stream - #1239

Merged
transfix merged 1 commit into
masterfrom
feat/ariadne-repeat-stream-texture
Nov 16, 2026
Merged

transfix merged 1 commit into
masterfrom
feat/ariadne-repeat-stream-texture

Conversation

@transfix

@transfix transfix commented Nov 14, 2026 •

Copy link
Copy Markdown
Owner

scene_node_instance now fills {i} into a copy's material: { texture: { stream } } name, so
each copy of a repeated node can wear a raster of its own:

scene:
  nodes:
    - node: tile_{i}
      repeat: tiles
      source: { plane: { size: 1 } }
      material: { texture: { stream: "fog.tile{i}" } }

#1230 (scene repeat:) already substitutes {i} into a copy's image texture. The
stream name is a field #1236 (live textures) adds, so neither could do this on its
own. Both are merged; this is one commit on master.

  • Tests:
    • AriadneScene.RepeatInstanceNamesItsOwnStreamTexture;
    • cvcgl_live_texture: two copies on two rasters of different sizes (8 and 16), each wearing its
      own.
  • Docs: ARIADNE.md §5.4's "Each copy" list, and scene_node_instance's comment, name the stream.
  • An earlier CI run of this commit on top of both PRs (before they merged) passed every job.

@transfix
transfix marked this pull request as ready for review November 14, 2026 22:32
@transfix
transfix force-pushed the feat/ariadne-repeat-stream-texture branch from 453447b to 4e0273e Compare November 15, 2026 02:41
scene_node_instance fills {i} into material.texture's stream: name too, so each copy of a
repeat: node can wear a raster of its own (material: { texture: { stream: "fog.tile{i}" } }).

Tests: AriadneScene.RepeatInstanceNamesItsOwnStreamTexture, and cvcgl_live_texture's two copies
on two rasters of different sizes.
@transfix transfix changed the title Ariadne: a repeated node's {i} reaches its live texture's stream (after #1230 and #1236) Ariadne: a repeated node's {i} reaches its live texture's stream Nov 15, 2026
@transfix
transfix force-pushed the feat/ariadne-repeat-stream-texture branch from 4e0273e to 9d36cc4 Compare November 15, 2026 19:58
@transfix
transfix enabled auto-merge (squash) November 15, 2026 19:58
@transfix
transfix merged commit 6e7accc into master Nov 16, 2026
29 of 30 checks passed
@transfix
transfix deleted the feat/ariadne-repeat-stream-texture branch November 16, 2026 11:11
transfix added a commit that referenced this pull request Nov 16, 2026
…#1307)

One conflict, in ariadne_runtime_test.cpp's ActionCapsAreTreeSettingsAndChargeAsyncCalls: this
branch cut its loop to 20 rounds so it fit the 0.1 s time cap on Linux debug CI, and master
(#1282) rewrote the test, raising the time cap to 30 s wherever the loop must finish.
Master's fix covers the same flake, so the test is master's as it stands, 200 rounds again.

tools/singleton_scan is master's (#1276); the auto-merged net, CI, test and doc files keep both
sides.
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