programextensions/blender/demos/city-preview.xtl

Blender, ray-traced: the city's whole flight, rough and quick -- 640 by 360, 24 frames a second, 12 samples a pixel -- to judge the camera's move, the traffic and the screens before the film is rendered. The frames go to work/city/preview/frames (a frame already there is not rendered again), the video to work/city/preview. Run: just ext blender city-preview (about half an hour) Command: just ext blender city-preview Title: The neon city, ray-traced: the whole flight, rough Link: three/live/ the same city, live: fly and walk through it

source · imports bl: extensions/blender/lib/Blender.xtl; bp: extensions/blender/lib/Bpy.xtl; cy: extensions/blender/lib/Cycles.xtl; nc: extensions/blender/demos/NeonCity.xtl

script : Char

value · line 16
script ← ((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
Used in: _

_ : Int

function · line 17
_ ← "work/city/run.py" ᵇˡw̲rite! ᵇᵖlauncher

_ : Int

function · line 18
_ ← "work/city/preview.py" ᵇˡw̲rite! script

r : Char

value · line 20
r ← "work/city/run.py" ᵇˡr̲un! "work/city/preview.py work/city/preview"
Used in: lines

lines : Box Char

value · line 22
lines ← (n̲ot r = f̲irst "\n") p̲artition r