Skip to content

Add cathedral ruins scene, generator, render script, and design docs#25

Merged
lienardale merged 1 commit into
masterfrom
claude/create-readme-scene-arBUM
Mar 25, 2026
Merged

Add cathedral ruins scene, generator, render script, and design docs#25
lienardale merged 1 commit into
masterfrom
claude/create-readme-scene-arBUM

Conversation

@lienardale

@lienardale lienardale commented Mar 25, 2026

Copy link
Copy Markdown
Owner

Summary

  • Create a massive 236-shape scene (scenes/cathedral_ruins.rt) depicting a ruined medieval cathedral interior and render it at 2560x1440 as the README hero image
  • Add cathedral preset to tools/gen_scene.c with 5 new shape writers (disk, torus, ellipsoid, triangle, paraboloid) and material-aware variants, enabling procedural regeneration with seed-controlled debris
  • Create scripts/render_cathedral.sh with --preview/--full/--generate-only modes, xvfb headless rendering, and elapsed time reporting
  • Create skills/scene-design.md documenting architectural scene design principles, the cathedral as a case study, material/lighting strategy, performance considerations, and the preview-iterate-render workflow
  • Add render-cathedral Makefile target

Scene details

  • 236 geometric shapes: 68 spheres, 49 boxes, 31 cylinders, 26 disks, 20 torus, 16 triangles, 13 squares, 10 ellipsoids, 1 plane, 1 paraboloid, 1 cone
  • Materials: reflective puddles, translucent stained glass, specular stone, metallic cross
  • 6 lights: warm sunbeams through roof gaps, cool sky fill, altar glow

Usage

# Generate + render at preview resolution
make render-cathedral ARGS="--preview"

# Generate + render at full resolution
make render-cathedral ARGS="--full"

# Just generate the .rt file
scripts/render_cathedral.sh --generate-only --seed 42

# Use gen_scene directly
./gen_scene --preset cathedral --width 2560 --height 1440 --output my_scene.rt

Test plan

  • make gen_scene builds successfully
  • ./gen_scene --list shows cathedral preset
  • ./gen_scene --preset cathedral --output test.rt generates valid .rt file (~242 shapes)
  • Generated scene parses without errors in miniRT
  • scripts/render_cathedral.sh --preview renders BMP
  • make render-cathedral ARGS="--full" produces saves/cathedral_ruins.bmp
  • Verify README displays the new hero image on GitHub

https://claude.ai/code/session_011y4jf3XH1xLchcQXdo1NAy

Create a detailed 236-shape scene depicting a ruined medieval cathedral
interior featuring stone columns, gothic torus arches, a rose window
with translucent stained glass, an altar with cross and candles,
scattered rubble, reflective water puddles, and dramatic multi-light
setup. Update README to display the new 2560x1440 render as the
first image.

https://claude.ai/code/session_011y4jf3XH1xLchcQXdo1NAy
@lienardale
lienardale merged commit 417c125 into master Mar 25, 2026
9 checks passed
@lienardale
lienardale deleted the claude/create-readme-scene-arBUM branch March 25, 2026 23:03
@lienardale lienardale changed the title Add medieval cathedral ruins scene as README hero image Add cathedral ruins scene, generator, render script, and design docs Mar 26, 2026
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.

2 participants