sourceextensions/blender/demos/city-preview.xtl
1⍝│ Blender, ray-traced: the city's whole flight, rough and quick -- 640
2⍝│ by 360, 24 frames a second, 12 samples a pixel -- to judge the
3⍝│ camera's move, the traffic and the screens before the film is
4⍝│ rendered. The frames go to work/city/preview/frames (a frame already
5⍝│ there is not rendered again), the video to work/city/preview.
6⍝│ Run: just ext blender city-preview (about half an hour)
7⍝│ Command: just ext blender city-preview
8⍝│ Title: The neon city, ray-traced: the whole flight, rough
9⍝│ Link: three/live/ the same city, live: fly and walk through it
10
11"bl:" u̲se< "Blender"
12"bp:" u̲se< "Bpy"
13"cy:" u̲se< "Cycles"
14"nc:" u̲se< "NeonCity"
15
16script ← ((640, 360, 24, 12, "GPU") ⁿᶜs̲cene 0) c̲at (("frames", 0, 0) ᶜʸf̲rames 0) c̲at ("frames", "city-preview.mp4") ᶜʸe̲ncode 0
17_ ← "work/city/run.py" ᵇˡw̲rite! ᵇᵖlauncher
18_ ← "work/city/preview.py" ᵇˡw̲rite! script
19"ray tracing 361 rough frames with Blender (Cycles) ..."
20r ← "work/city/run.py" ᵇˡr̲un! "work/city/preview.py work/city/preview"
21"the run, and the error lines in Blender's log:"
22lines ← (n̲ot r = f̲irst "\n") p̲artition r
23d̲isclose 1 s̲elect lines
24d̲isclose 2 s̲elect lines
25"what Blender made:"
26ᵇˡr̲ead "work/city/preview/report.txt"