programlibs/Glass/demos/example.xtl

source · imports sc: libs/Scene/src/Scene.xtl libs/Scene/src/Scene.xtlm; rt: libs/RayTrace/src/RayTrace.xtl; gl: libs/Glass/src/Glass.xtl; r: libs/Random/src/Random.xtl

demotriangles : Float

value · line 7
"demo" ˢᶜs̲cene2< "lens aperture .08 focus 5\nfloor ground origin -3 -1 -3 u 0 0 6 v 6 0 0 material gray\nsphere ball center 0 0 0 radius .7 material glass\nemitter panel origin -1 2.5 -1 u 2 0 0 v 0 0 2 radiance 12 10 8\nmaterial gray color .5 .5 .5 reflection .15\ndielectric glass color 1 1 1 transmission 1 ior 1.5 absorption .05 .1 .15\ncamera eye 0 .5 5 target 0 0 0 up 0 1 0 fov .9"
ˢᶜs̲cene2< expands to
demotriangles ← 4 3 3 r̲eshape -3.0 -1.0 -3.0 -3.0 -1.0 3.0 3.0 -1.0 3.0 -3.0 -1.0 -3.0 3.0 -1.0 3.0 3.0 -1.0 -3.0 -1.0 2.5 -1.0 1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 1.0
demomaterialids ← 4 r̲eshape 1 1 3 3
demogroupids ← 4 r̲eshape 1 1 1 1
demomaterials ← 3 4 r̲eshape 0.5 0.5 0.5 0.15 1.0 1.0 1.0 0.0 0.0 0.0 0.0 0.0
demotransforms ← 1 4 4 r̲eshape 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0
demopivots ← 1 3 r̲eshape 0.0 0.0 0.0
democamera ← 10 r̲eshape 0.0 0.5 5.0 0.0 0.0 0.0 0.0 1.0 0.0 0.9
demolights ← 0 6 r̲eshape 0.0
demotriangleids ← 4 r̲eshape 1 2 4 5
demosphereids ← 1 r̲eshape 3
demotriangleobjectids ← 4 r̲eshape 0 0 0 0
demosphereobjectids ← 1 r̲eshape 2
demospherematerialids ← 1 r̲eshape 2
demospheregroupids ← 1 r̲eshape 1
demosceneversion ← 2
demolens ← 2 r̲eshape 0.08 5.0
demoemitters ← 1 3 3 r̲eshape -1.0 2.5 -1.0 2.0 0.0 0.0 0.0 0.0 2.0
demoemitterradiance ← 1 3 r̲eshape 12.0 10.0 8.0
demospheres ← 1 4 r̲eshape 0.0 0.0 0.0 0.7
demomaterialkind ← 3 r̲eshape 0 1 0
demooptics ← 3 5 r̲eshape 0.0 1.0 0.0 0.0 0.0 1.0 1.5 0.05 0.1 0.15 0.0 1.0 0.0 0.0 0.0
demoemission ← 3 3 r̲eshape 0.0 0.0 0.0 0.0 0.0 0.0 12.0 10.0 8.0
Used in: world

demomaterialids : Int

value · line 7
"demo" ˢᶜs̲cene2< "lens aperture .08 focus 5\nfloor ground origin -3 -1 -3 u 0 0 6 v 6 0 0 material gray\nsphere ball center 0 0 0 radius .7 material glass\nemitter panel origin -1 2.5 -1 u 2 0 0 v 0 0 2 radiance 12 10 8\nmaterial gray color .5 .5 .5 reflection .15\ndielectric glass color 1 1 1 transmission 1 ior 1.5 absorption .05 .1 .15\ncamera eye 0 .5 5 target 0 0 0 up 0 1 0 fov .9"
ˢᶜs̲cene2< expands to
demotriangles ← 4 3 3 r̲eshape -3.0 -1.0 -3.0 -3.0 -1.0 3.0 3.0 -1.0 3.0 -3.0 -1.0 -3.0 3.0 -1.0 3.0 3.0 -1.0 -3.0 -1.0 2.5 -1.0 1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 1.0
demomaterialids ← 4 r̲eshape 1 1 3 3
demogroupids ← 4 r̲eshape 1 1 1 1
demomaterials ← 3 4 r̲eshape 0.5 0.5 0.5 0.15 1.0 1.0 1.0 0.0 0.0 0.0 0.0 0.0
demotransforms ← 1 4 4 r̲eshape 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0
demopivots ← 1 3 r̲eshape 0.0 0.0 0.0
democamera ← 10 r̲eshape 0.0 0.5 5.0 0.0 0.0 0.0 0.0 1.0 0.0 0.9
demolights ← 0 6 r̲eshape 0.0
demotriangleids ← 4 r̲eshape 1 2 4 5
demosphereids ← 1 r̲eshape 3
demotriangleobjectids ← 4 r̲eshape 0 0 0 0
demosphereobjectids ← 1 r̲eshape 2
demospherematerialids ← 1 r̲eshape 2
demospheregroupids ← 1 r̲eshape 1
demosceneversion ← 2
demolens ← 2 r̲eshape 0.08 5.0
demoemitters ← 1 3 3 r̲eshape -1.0 2.5 -1.0 2.0 0.0 0.0 0.0 0.0 2.0
demoemitterradiance ← 1 3 r̲eshape 12.0 10.0 8.0
demospheres ← 1 4 r̲eshape 0.0 0.0 0.0 0.7
demomaterialkind ← 3 r̲eshape 0 1 0
demooptics ← 3 5 r̲eshape 0.0 1.0 0.0 0.0 0.0 1.0 1.5 0.05 0.1 0.15 0.0 1.0 0.0 0.0 0.0
demoemission ← 3 3 r̲eshape 0.0 0.0 0.0 0.0 0.0 0.0 12.0 10.0 8.0
Used in: world

demogroupids : Int

value · line 7
"demo" ˢᶜs̲cene2< "lens aperture .08 focus 5\nfloor ground origin -3 -1 -3 u 0 0 6 v 6 0 0 material gray\nsphere ball center 0 0 0 radius .7 material glass\nemitter panel origin -1 2.5 -1 u 2 0 0 v 0 0 2 radiance 12 10 8\nmaterial gray color .5 .5 .5 reflection .15\ndielectric glass color 1 1 1 transmission 1 ior 1.5 absorption .05 .1 .15\ncamera eye 0 .5 5 target 0 0 0 up 0 1 0 fov .9"
ˢᶜs̲cene2< expands to
demotriangles ← 4 3 3 r̲eshape -3.0 -1.0 -3.0 -3.0 -1.0 3.0 3.0 -1.0 3.0 -3.0 -1.0 -3.0 3.0 -1.0 3.0 3.0 -1.0 -3.0 -1.0 2.5 -1.0 1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 1.0
demomaterialids ← 4 r̲eshape 1 1 3 3
demogroupids ← 4 r̲eshape 1 1 1 1
demomaterials ← 3 4 r̲eshape 0.5 0.5 0.5 0.15 1.0 1.0 1.0 0.0 0.0 0.0 0.0 0.0
demotransforms ← 1 4 4 r̲eshape 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0
demopivots ← 1 3 r̲eshape 0.0 0.0 0.0
democamera ← 10 r̲eshape 0.0 0.5 5.0 0.0 0.0 0.0 0.0 1.0 0.0 0.9
demolights ← 0 6 r̲eshape 0.0
demotriangleids ← 4 r̲eshape 1 2 4 5
demosphereids ← 1 r̲eshape 3
demotriangleobjectids ← 4 r̲eshape 0 0 0 0
demosphereobjectids ← 1 r̲eshape 2
demospherematerialids ← 1 r̲eshape 2
demospheregroupids ← 1 r̲eshape 1
demosceneversion ← 2
demolens ← 2 r̲eshape 0.08 5.0
demoemitters ← 1 3 3 r̲eshape -1.0 2.5 -1.0 2.0 0.0 0.0 0.0 0.0 2.0
demoemitterradiance ← 1 3 r̲eshape 12.0 10.0 8.0
demospheres ← 1 4 r̲eshape 0.0 0.0 0.0 0.7
demomaterialkind ← 3 r̲eshape 0 1 0
demooptics ← 3 5 r̲eshape 0.0 1.0 0.0 0.0 0.0 1.0 1.5 0.05 0.1 0.15 0.0 1.0 0.0 0.0 0.0
demoemission ← 3 3 r̲eshape 0.0 0.0 0.0 0.0 0.0 0.0 12.0 10.0 8.0

demomaterials : Float

value · line 7
"demo" ˢᶜs̲cene2< "lens aperture .08 focus 5\nfloor ground origin -3 -1 -3 u 0 0 6 v 6 0 0 material gray\nsphere ball center 0 0 0 radius .7 material glass\nemitter panel origin -1 2.5 -1 u 2 0 0 v 0 0 2 radiance 12 10 8\nmaterial gray color .5 .5 .5 reflection .15\ndielectric glass color 1 1 1 transmission 1 ior 1.5 absorption .05 .1 .15\ncamera eye 0 .5 5 target 0 0 0 up 0 1 0 fov .9"
ˢᶜs̲cene2< expands to
demotriangles ← 4 3 3 r̲eshape -3.0 -1.0 -3.0 -3.0 -1.0 3.0 3.0 -1.0 3.0 -3.0 -1.0 -3.0 3.0 -1.0 3.0 3.0 -1.0 -3.0 -1.0 2.5 -1.0 1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 1.0
demomaterialids ← 4 r̲eshape 1 1 3 3
demogroupids ← 4 r̲eshape 1 1 1 1
demomaterials ← 3 4 r̲eshape 0.5 0.5 0.5 0.15 1.0 1.0 1.0 0.0 0.0 0.0 0.0 0.0
demotransforms ← 1 4 4 r̲eshape 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0
demopivots ← 1 3 r̲eshape 0.0 0.0 0.0
democamera ← 10 r̲eshape 0.0 0.5 5.0 0.0 0.0 0.0 0.0 1.0 0.0 0.9
demolights ← 0 6 r̲eshape 0.0
demotriangleids ← 4 r̲eshape 1 2 4 5
demosphereids ← 1 r̲eshape 3
demotriangleobjectids ← 4 r̲eshape 0 0 0 0
demosphereobjectids ← 1 r̲eshape 2
demospherematerialids ← 1 r̲eshape 2
demospheregroupids ← 1 r̲eshape 1
demosceneversion ← 2
demolens ← 2 r̲eshape 0.08 5.0
demoemitters ← 1 3 3 r̲eshape -1.0 2.5 -1.0 2.0 0.0 0.0 0.0 0.0 2.0
demoemitterradiance ← 1 3 r̲eshape 12.0 10.0 8.0
demospheres ← 1 4 r̲eshape 0.0 0.0 0.0 0.7
demomaterialkind ← 3 r̲eshape 0 1 0
demooptics ← 3 5 r̲eshape 0.0 1.0 0.0 0.0 0.0 1.0 1.5 0.05 0.1 0.15 0.0 1.0 0.0 0.0 0.0
demoemission ← 3 3 r̲eshape 0.0 0.0 0.0 0.0 0.0 0.0 12.0 10.0 8.0
Used in: world

demotransforms : Float

value · line 7
"demo" ˢᶜs̲cene2< "lens aperture .08 focus 5\nfloor ground origin -3 -1 -3 u 0 0 6 v 6 0 0 material gray\nsphere ball center 0 0 0 radius .7 material glass\nemitter panel origin -1 2.5 -1 u 2 0 0 v 0 0 2 radiance 12 10 8\nmaterial gray color .5 .5 .5 reflection .15\ndielectric glass color 1 1 1 transmission 1 ior 1.5 absorption .05 .1 .15\ncamera eye 0 .5 5 target 0 0 0 up 0 1 0 fov .9"
ˢᶜs̲cene2< expands to
demotriangles ← 4 3 3 r̲eshape -3.0 -1.0 -3.0 -3.0 -1.0 3.0 3.0 -1.0 3.0 -3.0 -1.0 -3.0 3.0 -1.0 3.0 3.0 -1.0 -3.0 -1.0 2.5 -1.0 1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 1.0
demomaterialids ← 4 r̲eshape 1 1 3 3
demogroupids ← 4 r̲eshape 1 1 1 1
demomaterials ← 3 4 r̲eshape 0.5 0.5 0.5 0.15 1.0 1.0 1.0 0.0 0.0 0.0 0.0 0.0
demotransforms ← 1 4 4 r̲eshape 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0
demopivots ← 1 3 r̲eshape 0.0 0.0 0.0
democamera ← 10 r̲eshape 0.0 0.5 5.0 0.0 0.0 0.0 0.0 1.0 0.0 0.9
demolights ← 0 6 r̲eshape 0.0
demotriangleids ← 4 r̲eshape 1 2 4 5
demosphereids ← 1 r̲eshape 3
demotriangleobjectids ← 4 r̲eshape 0 0 0 0
demosphereobjectids ← 1 r̲eshape 2
demospherematerialids ← 1 r̲eshape 2
demospheregroupids ← 1 r̲eshape 1
demosceneversion ← 2
demolens ← 2 r̲eshape 0.08 5.0
demoemitters ← 1 3 3 r̲eshape -1.0 2.5 -1.0 2.0 0.0 0.0 0.0 0.0 2.0
demoemitterradiance ← 1 3 r̲eshape 12.0 10.0 8.0
demospheres ← 1 4 r̲eshape 0.0 0.0 0.0 0.7
demomaterialkind ← 3 r̲eshape 0 1 0
demooptics ← 3 5 r̲eshape 0.0 1.0 0.0 0.0 0.0 1.0 1.5 0.05 0.1 0.15 0.0 1.0 0.0 0.0 0.0
demoemission ← 3 3 r̲eshape 0.0 0.0 0.0 0.0 0.0 0.0 12.0 10.0 8.0

demopivots : Float

value · line 7
"demo" ˢᶜs̲cene2< "lens aperture .08 focus 5\nfloor ground origin -3 -1 -3 u 0 0 6 v 6 0 0 material gray\nsphere ball center 0 0 0 radius .7 material glass\nemitter panel origin -1 2.5 -1 u 2 0 0 v 0 0 2 radiance 12 10 8\nmaterial gray color .5 .5 .5 reflection .15\ndielectric glass color 1 1 1 transmission 1 ior 1.5 absorption .05 .1 .15\ncamera eye 0 .5 5 target 0 0 0 up 0 1 0 fov .9"
ˢᶜs̲cene2< expands to
demotriangles ← 4 3 3 r̲eshape -3.0 -1.0 -3.0 -3.0 -1.0 3.0 3.0 -1.0 3.0 -3.0 -1.0 -3.0 3.0 -1.0 3.0 3.0 -1.0 -3.0 -1.0 2.5 -1.0 1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 1.0
demomaterialids ← 4 r̲eshape 1 1 3 3
demogroupids ← 4 r̲eshape 1 1 1 1
demomaterials ← 3 4 r̲eshape 0.5 0.5 0.5 0.15 1.0 1.0 1.0 0.0 0.0 0.0 0.0 0.0
demotransforms ← 1 4 4 r̲eshape 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0
demopivots ← 1 3 r̲eshape 0.0 0.0 0.0
democamera ← 10 r̲eshape 0.0 0.5 5.0 0.0 0.0 0.0 0.0 1.0 0.0 0.9
demolights ← 0 6 r̲eshape 0.0
demotriangleids ← 4 r̲eshape 1 2 4 5
demosphereids ← 1 r̲eshape 3
demotriangleobjectids ← 4 r̲eshape 0 0 0 0
demosphereobjectids ← 1 r̲eshape 2
demospherematerialids ← 1 r̲eshape 2
demospheregroupids ← 1 r̲eshape 1
demosceneversion ← 2
demolens ← 2 r̲eshape 0.08 5.0
demoemitters ← 1 3 3 r̲eshape -1.0 2.5 -1.0 2.0 0.0 0.0 0.0 0.0 2.0
demoemitterradiance ← 1 3 r̲eshape 12.0 10.0 8.0
demospheres ← 1 4 r̲eshape 0.0 0.0 0.0 0.7
demomaterialkind ← 3 r̲eshape 0 1 0
demooptics ← 3 5 r̲eshape 0.0 1.0 0.0 0.0 0.0 1.0 1.5 0.05 0.1 0.15 0.0 1.0 0.0 0.0 0.0
demoemission ← 3 3 r̲eshape 0.0 0.0 0.0 0.0 0.0 0.0 12.0 10.0 8.0

democamera : Float

value · line 7
"demo" ˢᶜs̲cene2< "lens aperture .08 focus 5\nfloor ground origin -3 -1 -3 u 0 0 6 v 6 0 0 material gray\nsphere ball center 0 0 0 radius .7 material glass\nemitter panel origin -1 2.5 -1 u 2 0 0 v 0 0 2 radiance 12 10 8\nmaterial gray color .5 .5 .5 reflection .15\ndielectric glass color 1 1 1 transmission 1 ior 1.5 absorption .05 .1 .15\ncamera eye 0 .5 5 target 0 0 0 up 0 1 0 fov .9"
ˢᶜs̲cene2< expands to
demotriangles ← 4 3 3 r̲eshape -3.0 -1.0 -3.0 -3.0 -1.0 3.0 3.0 -1.0 3.0 -3.0 -1.0 -3.0 3.0 -1.0 3.0 3.0 -1.0 -3.0 -1.0 2.5 -1.0 1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 1.0
demomaterialids ← 4 r̲eshape 1 1 3 3
demogroupids ← 4 r̲eshape 1 1 1 1
demomaterials ← 3 4 r̲eshape 0.5 0.5 0.5 0.15 1.0 1.0 1.0 0.0 0.0 0.0 0.0 0.0
demotransforms ← 1 4 4 r̲eshape 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0
demopivots ← 1 3 r̲eshape 0.0 0.0 0.0
democamera ← 10 r̲eshape 0.0 0.5 5.0 0.0 0.0 0.0 0.0 1.0 0.0 0.9
demolights ← 0 6 r̲eshape 0.0
demotriangleids ← 4 r̲eshape 1 2 4 5
demosphereids ← 1 r̲eshape 3
demotriangleobjectids ← 4 r̲eshape 0 0 0 0
demosphereobjectids ← 1 r̲eshape 2
demospherematerialids ← 1 r̲eshape 2
demospheregroupids ← 1 r̲eshape 1
demosceneversion ← 2
demolens ← 2 r̲eshape 0.08 5.0
demoemitters ← 1 3 3 r̲eshape -1.0 2.5 -1.0 2.0 0.0 0.0 0.0 0.0 2.0
demoemitterradiance ← 1 3 r̲eshape 12.0 10.0 8.0
demospheres ← 1 4 r̲eshape 0.0 0.0 0.0 0.7
demomaterialkind ← 3 r̲eshape 0 1 0
demooptics ← 3 5 r̲eshape 0.0 1.0 0.0 0.0 0.0 1.0 1.5 0.05 0.1 0.15 0.0 1.0 0.0 0.0 0.0
demoemission ← 3 3 r̲eshape 0.0 0.0 0.0 0.0 0.0 0.0 12.0 10.0 8.0
Used in: pinhole, origins

demolights : Float

value · line 7
"demo" ˢᶜs̲cene2< "lens aperture .08 focus 5\nfloor ground origin -3 -1 -3 u 0 0 6 v 6 0 0 material gray\nsphere ball center 0 0 0 radius .7 material glass\nemitter panel origin -1 2.5 -1 u 2 0 0 v 0 0 2 radiance 12 10 8\nmaterial gray color .5 .5 .5 reflection .15\ndielectric glass color 1 1 1 transmission 1 ior 1.5 absorption .05 .1 .15\ncamera eye 0 .5 5 target 0 0 0 up 0 1 0 fov .9"
ˢᶜs̲cene2< expands to
demotriangles ← 4 3 3 r̲eshape -3.0 -1.0 -3.0 -3.0 -1.0 3.0 3.0 -1.0 3.0 -3.0 -1.0 -3.0 3.0 -1.0 3.0 3.0 -1.0 -3.0 -1.0 2.5 -1.0 1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 1.0
demomaterialids ← 4 r̲eshape 1 1 3 3
demogroupids ← 4 r̲eshape 1 1 1 1
demomaterials ← 3 4 r̲eshape 0.5 0.5 0.5 0.15 1.0 1.0 1.0 0.0 0.0 0.0 0.0 0.0
demotransforms ← 1 4 4 r̲eshape 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0
demopivots ← 1 3 r̲eshape 0.0 0.0 0.0
democamera ← 10 r̲eshape 0.0 0.5 5.0 0.0 0.0 0.0 0.0 1.0 0.0 0.9
demolights ← 0 6 r̲eshape 0.0
demotriangleids ← 4 r̲eshape 1 2 4 5
demosphereids ← 1 r̲eshape 3
demotriangleobjectids ← 4 r̲eshape 0 0 0 0
demosphereobjectids ← 1 r̲eshape 2
demospherematerialids ← 1 r̲eshape 2
demospheregroupids ← 1 r̲eshape 1
demosceneversion ← 2
demolens ← 2 r̲eshape 0.08 5.0
demoemitters ← 1 3 3 r̲eshape -1.0 2.5 -1.0 2.0 0.0 0.0 0.0 0.0 2.0
demoemitterradiance ← 1 3 r̲eshape 12.0 10.0 8.0
demospheres ← 1 4 r̲eshape 0.0 0.0 0.0 0.7
demomaterialkind ← 3 r̲eshape 0 1 0
demooptics ← 3 5 r̲eshape 0.0 1.0 0.0 0.0 0.0 1.0 1.5 0.05 0.1 0.15 0.0 1.0 0.0 0.0 0.0
demoemission ← 3 3 r̲eshape 0.0 0.0 0.0 0.0 0.0 0.0 12.0 10.0 8.0
Used in: world

demotriangleids : Int

value · line 7
"demo" ˢᶜs̲cene2< "lens aperture .08 focus 5\nfloor ground origin -3 -1 -3 u 0 0 6 v 6 0 0 material gray\nsphere ball center 0 0 0 radius .7 material glass\nemitter panel origin -1 2.5 -1 u 2 0 0 v 0 0 2 radiance 12 10 8\nmaterial gray color .5 .5 .5 reflection .15\ndielectric glass color 1 1 1 transmission 1 ior 1.5 absorption .05 .1 .15\ncamera eye 0 .5 5 target 0 0 0 up 0 1 0 fov .9"
ˢᶜs̲cene2< expands to
demotriangles ← 4 3 3 r̲eshape -3.0 -1.0 -3.0 -3.0 -1.0 3.0 3.0 -1.0 3.0 -3.0 -1.0 -3.0 3.0 -1.0 3.0 3.0 -1.0 -3.0 -1.0 2.5 -1.0 1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 1.0
demomaterialids ← 4 r̲eshape 1 1 3 3
demogroupids ← 4 r̲eshape 1 1 1 1
demomaterials ← 3 4 r̲eshape 0.5 0.5 0.5 0.15 1.0 1.0 1.0 0.0 0.0 0.0 0.0 0.0
demotransforms ← 1 4 4 r̲eshape 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0
demopivots ← 1 3 r̲eshape 0.0 0.0 0.0
democamera ← 10 r̲eshape 0.0 0.5 5.0 0.0 0.0 0.0 0.0 1.0 0.0 0.9
demolights ← 0 6 r̲eshape 0.0
demotriangleids ← 4 r̲eshape 1 2 4 5
demosphereids ← 1 r̲eshape 3
demotriangleobjectids ← 4 r̲eshape 0 0 0 0
demosphereobjectids ← 1 r̲eshape 2
demospherematerialids ← 1 r̲eshape 2
demospheregroupids ← 1 r̲eshape 1
demosceneversion ← 2
demolens ← 2 r̲eshape 0.08 5.0
demoemitters ← 1 3 3 r̲eshape -1.0 2.5 -1.0 2.0 0.0 0.0 0.0 0.0 2.0
demoemitterradiance ← 1 3 r̲eshape 12.0 10.0 8.0
demospheres ← 1 4 r̲eshape 0.0 0.0 0.0 0.7
demomaterialkind ← 3 r̲eshape 0 1 0
demooptics ← 3 5 r̲eshape 0.0 1.0 0.0 0.0 0.0 1.0 1.5 0.05 0.1 0.15 0.0 1.0 0.0 0.0 0.0
demoemission ← 3 3 r̲eshape 0.0 0.0 0.0 0.0 0.0 0.0 12.0 10.0 8.0
Used in: world

demosphereids : Int

value · line 7
"demo" ˢᶜs̲cene2< "lens aperture .08 focus 5\nfloor ground origin -3 -1 -3 u 0 0 6 v 6 0 0 material gray\nsphere ball center 0 0 0 radius .7 material glass\nemitter panel origin -1 2.5 -1 u 2 0 0 v 0 0 2 radiance 12 10 8\nmaterial gray color .5 .5 .5 reflection .15\ndielectric glass color 1 1 1 transmission 1 ior 1.5 absorption .05 .1 .15\ncamera eye 0 .5 5 target 0 0 0 up 0 1 0 fov .9"
ˢᶜs̲cene2< expands to
demotriangles ← 4 3 3 r̲eshape -3.0 -1.0 -3.0 -3.0 -1.0 3.0 3.0 -1.0 3.0 -3.0 -1.0 -3.0 3.0 -1.0 3.0 3.0 -1.0 -3.0 -1.0 2.5 -1.0 1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 1.0
demomaterialids ← 4 r̲eshape 1 1 3 3
demogroupids ← 4 r̲eshape 1 1 1 1
demomaterials ← 3 4 r̲eshape 0.5 0.5 0.5 0.15 1.0 1.0 1.0 0.0 0.0 0.0 0.0 0.0
demotransforms ← 1 4 4 r̲eshape 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0
demopivots ← 1 3 r̲eshape 0.0 0.0 0.0
democamera ← 10 r̲eshape 0.0 0.5 5.0 0.0 0.0 0.0 0.0 1.0 0.0 0.9
demolights ← 0 6 r̲eshape 0.0
demotriangleids ← 4 r̲eshape 1 2 4 5
demosphereids ← 1 r̲eshape 3
demotriangleobjectids ← 4 r̲eshape 0 0 0 0
demosphereobjectids ← 1 r̲eshape 2
demospherematerialids ← 1 r̲eshape 2
demospheregroupids ← 1 r̲eshape 1
demosceneversion ← 2
demolens ← 2 r̲eshape 0.08 5.0
demoemitters ← 1 3 3 r̲eshape -1.0 2.5 -1.0 2.0 0.0 0.0 0.0 0.0 2.0
demoemitterradiance ← 1 3 r̲eshape 12.0 10.0 8.0
demospheres ← 1 4 r̲eshape 0.0 0.0 0.0 0.7
demomaterialkind ← 3 r̲eshape 0 1 0
demooptics ← 3 5 r̲eshape 0.0 1.0 0.0 0.0 0.0 1.0 1.5 0.05 0.1 0.15 0.0 1.0 0.0 0.0 0.0
demoemission ← 3 3 r̲eshape 0.0 0.0 0.0 0.0 0.0 0.0 12.0 10.0 8.0
Used in: world

demotriangleobjectids : Int

value · line 7
"demo" ˢᶜs̲cene2< "lens aperture .08 focus 5\nfloor ground origin -3 -1 -3 u 0 0 6 v 6 0 0 material gray\nsphere ball center 0 0 0 radius .7 material glass\nemitter panel origin -1 2.5 -1 u 2 0 0 v 0 0 2 radiance 12 10 8\nmaterial gray color .5 .5 .5 reflection .15\ndielectric glass color 1 1 1 transmission 1 ior 1.5 absorption .05 .1 .15\ncamera eye 0 .5 5 target 0 0 0 up 0 1 0 fov .9"
ˢᶜs̲cene2< expands to
demotriangles ← 4 3 3 r̲eshape -3.0 -1.0 -3.0 -3.0 -1.0 3.0 3.0 -1.0 3.0 -3.0 -1.0 -3.0 3.0 -1.0 3.0 3.0 -1.0 -3.0 -1.0 2.5 -1.0 1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 1.0
demomaterialids ← 4 r̲eshape 1 1 3 3
demogroupids ← 4 r̲eshape 1 1 1 1
demomaterials ← 3 4 r̲eshape 0.5 0.5 0.5 0.15 1.0 1.0 1.0 0.0 0.0 0.0 0.0 0.0
demotransforms ← 1 4 4 r̲eshape 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0
demopivots ← 1 3 r̲eshape 0.0 0.0 0.0
democamera ← 10 r̲eshape 0.0 0.5 5.0 0.0 0.0 0.0 0.0 1.0 0.0 0.9
demolights ← 0 6 r̲eshape 0.0
demotriangleids ← 4 r̲eshape 1 2 4 5
demosphereids ← 1 r̲eshape 3
demotriangleobjectids ← 4 r̲eshape 0 0 0 0
demosphereobjectids ← 1 r̲eshape 2
demospherematerialids ← 1 r̲eshape 2
demospheregroupids ← 1 r̲eshape 1
demosceneversion ← 2
demolens ← 2 r̲eshape 0.08 5.0
demoemitters ← 1 3 3 r̲eshape -1.0 2.5 -1.0 2.0 0.0 0.0 0.0 0.0 2.0
demoemitterradiance ← 1 3 r̲eshape 12.0 10.0 8.0
demospheres ← 1 4 r̲eshape 0.0 0.0 0.0 0.7
demomaterialkind ← 3 r̲eshape 0 1 0
demooptics ← 3 5 r̲eshape 0.0 1.0 0.0 0.0 0.0 1.0 1.5 0.05 0.1 0.15 0.0 1.0 0.0 0.0 0.0
demoemission ← 3 3 r̲eshape 0.0 0.0 0.0 0.0 0.0 0.0 12.0 10.0 8.0
Used in: world

demosphereobjectids : Int

value · line 7
"demo" ˢᶜs̲cene2< "lens aperture .08 focus 5\nfloor ground origin -3 -1 -3 u 0 0 6 v 6 0 0 material gray\nsphere ball center 0 0 0 radius .7 material glass\nemitter panel origin -1 2.5 -1 u 2 0 0 v 0 0 2 radiance 12 10 8\nmaterial gray color .5 .5 .5 reflection .15\ndielectric glass color 1 1 1 transmission 1 ior 1.5 absorption .05 .1 .15\ncamera eye 0 .5 5 target 0 0 0 up 0 1 0 fov .9"
ˢᶜs̲cene2< expands to
demotriangles ← 4 3 3 r̲eshape -3.0 -1.0 -3.0 -3.0 -1.0 3.0 3.0 -1.0 3.0 -3.0 -1.0 -3.0 3.0 -1.0 3.0 3.0 -1.0 -3.0 -1.0 2.5 -1.0 1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 1.0
demomaterialids ← 4 r̲eshape 1 1 3 3
demogroupids ← 4 r̲eshape 1 1 1 1
demomaterials ← 3 4 r̲eshape 0.5 0.5 0.5 0.15 1.0 1.0 1.0 0.0 0.0 0.0 0.0 0.0
demotransforms ← 1 4 4 r̲eshape 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0
demopivots ← 1 3 r̲eshape 0.0 0.0 0.0
democamera ← 10 r̲eshape 0.0 0.5 5.0 0.0 0.0 0.0 0.0 1.0 0.0 0.9
demolights ← 0 6 r̲eshape 0.0
demotriangleids ← 4 r̲eshape 1 2 4 5
demosphereids ← 1 r̲eshape 3
demotriangleobjectids ← 4 r̲eshape 0 0 0 0
demosphereobjectids ← 1 r̲eshape 2
demospherematerialids ← 1 r̲eshape 2
demospheregroupids ← 1 r̲eshape 1
demosceneversion ← 2
demolens ← 2 r̲eshape 0.08 5.0
demoemitters ← 1 3 3 r̲eshape -1.0 2.5 -1.0 2.0 0.0 0.0 0.0 0.0 2.0
demoemitterradiance ← 1 3 r̲eshape 12.0 10.0 8.0
demospheres ← 1 4 r̲eshape 0.0 0.0 0.0 0.7
demomaterialkind ← 3 r̲eshape 0 1 0
demooptics ← 3 5 r̲eshape 0.0 1.0 0.0 0.0 0.0 1.0 1.5 0.05 0.1 0.15 0.0 1.0 0.0 0.0 0.0
demoemission ← 3 3 r̲eshape 0.0 0.0 0.0 0.0 0.0 0.0 12.0 10.0 8.0
Used in: world

demospherematerialids : Int

value · line 7
"demo" ˢᶜs̲cene2< "lens aperture .08 focus 5\nfloor ground origin -3 -1 -3 u 0 0 6 v 6 0 0 material gray\nsphere ball center 0 0 0 radius .7 material glass\nemitter panel origin -1 2.5 -1 u 2 0 0 v 0 0 2 radiance 12 10 8\nmaterial gray color .5 .5 .5 reflection .15\ndielectric glass color 1 1 1 transmission 1 ior 1.5 absorption .05 .1 .15\ncamera eye 0 .5 5 target 0 0 0 up 0 1 0 fov .9"
ˢᶜs̲cene2< expands to
demotriangles ← 4 3 3 r̲eshape -3.0 -1.0 -3.0 -3.0 -1.0 3.0 3.0 -1.0 3.0 -3.0 -1.0 -3.0 3.0 -1.0 3.0 3.0 -1.0 -3.0 -1.0 2.5 -1.0 1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 1.0
demomaterialids ← 4 r̲eshape 1 1 3 3
demogroupids ← 4 r̲eshape 1 1 1 1
demomaterials ← 3 4 r̲eshape 0.5 0.5 0.5 0.15 1.0 1.0 1.0 0.0 0.0 0.0 0.0 0.0
demotransforms ← 1 4 4 r̲eshape 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0
demopivots ← 1 3 r̲eshape 0.0 0.0 0.0
democamera ← 10 r̲eshape 0.0 0.5 5.0 0.0 0.0 0.0 0.0 1.0 0.0 0.9
demolights ← 0 6 r̲eshape 0.0
demotriangleids ← 4 r̲eshape 1 2 4 5
demosphereids ← 1 r̲eshape 3
demotriangleobjectids ← 4 r̲eshape 0 0 0 0
demosphereobjectids ← 1 r̲eshape 2
demospherematerialids ← 1 r̲eshape 2
demospheregroupids ← 1 r̲eshape 1
demosceneversion ← 2
demolens ← 2 r̲eshape 0.08 5.0
demoemitters ← 1 3 3 r̲eshape -1.0 2.5 -1.0 2.0 0.0 0.0 0.0 0.0 2.0
demoemitterradiance ← 1 3 r̲eshape 12.0 10.0 8.0
demospheres ← 1 4 r̲eshape 0.0 0.0 0.0 0.7
demomaterialkind ← 3 r̲eshape 0 1 0
demooptics ← 3 5 r̲eshape 0.0 1.0 0.0 0.0 0.0 1.0 1.5 0.05 0.1 0.15 0.0 1.0 0.0 0.0 0.0
demoemission ← 3 3 r̲eshape 0.0 0.0 0.0 0.0 0.0 0.0 12.0 10.0 8.0
Used in: world

demospheregroupids : Int

value · line 7
"demo" ˢᶜs̲cene2< "lens aperture .08 focus 5\nfloor ground origin -3 -1 -3 u 0 0 6 v 6 0 0 material gray\nsphere ball center 0 0 0 radius .7 material glass\nemitter panel origin -1 2.5 -1 u 2 0 0 v 0 0 2 radiance 12 10 8\nmaterial gray color .5 .5 .5 reflection .15\ndielectric glass color 1 1 1 transmission 1 ior 1.5 absorption .05 .1 .15\ncamera eye 0 .5 5 target 0 0 0 up 0 1 0 fov .9"
ˢᶜs̲cene2< expands to
demotriangles ← 4 3 3 r̲eshape -3.0 -1.0 -3.0 -3.0 -1.0 3.0 3.0 -1.0 3.0 -3.0 -1.0 -3.0 3.0 -1.0 3.0 3.0 -1.0 -3.0 -1.0 2.5 -1.0 1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 1.0
demomaterialids ← 4 r̲eshape 1 1 3 3
demogroupids ← 4 r̲eshape 1 1 1 1
demomaterials ← 3 4 r̲eshape 0.5 0.5 0.5 0.15 1.0 1.0 1.0 0.0 0.0 0.0 0.0 0.0
demotransforms ← 1 4 4 r̲eshape 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0
demopivots ← 1 3 r̲eshape 0.0 0.0 0.0
democamera ← 10 r̲eshape 0.0 0.5 5.0 0.0 0.0 0.0 0.0 1.0 0.0 0.9
demolights ← 0 6 r̲eshape 0.0
demotriangleids ← 4 r̲eshape 1 2 4 5
demosphereids ← 1 r̲eshape 3
demotriangleobjectids ← 4 r̲eshape 0 0 0 0
demosphereobjectids ← 1 r̲eshape 2
demospherematerialids ← 1 r̲eshape 2
demospheregroupids ← 1 r̲eshape 1
demosceneversion ← 2
demolens ← 2 r̲eshape 0.08 5.0
demoemitters ← 1 3 3 r̲eshape -1.0 2.5 -1.0 2.0 0.0 0.0 0.0 0.0 2.0
demoemitterradiance ← 1 3 r̲eshape 12.0 10.0 8.0
demospheres ← 1 4 r̲eshape 0.0 0.0 0.0 0.7
demomaterialkind ← 3 r̲eshape 0 1 0
demooptics ← 3 5 r̲eshape 0.0 1.0 0.0 0.0 0.0 1.0 1.5 0.05 0.1 0.15 0.0 1.0 0.0 0.0 0.0
demoemission ← 3 3 r̲eshape 0.0 0.0 0.0 0.0 0.0 0.0 12.0 10.0 8.0

demosceneversion : Int

value · line 7
"demo" ˢᶜs̲cene2< "lens aperture .08 focus 5\nfloor ground origin -3 -1 -3 u 0 0 6 v 6 0 0 material gray\nsphere ball center 0 0 0 radius .7 material glass\nemitter panel origin -1 2.5 -1 u 2 0 0 v 0 0 2 radiance 12 10 8\nmaterial gray color .5 .5 .5 reflection .15\ndielectric glass color 1 1 1 transmission 1 ior 1.5 absorption .05 .1 .15\ncamera eye 0 .5 5 target 0 0 0 up 0 1 0 fov .9"
ˢᶜs̲cene2< expands to
demotriangles ← 4 3 3 r̲eshape -3.0 -1.0 -3.0 -3.0 -1.0 3.0 3.0 -1.0 3.0 -3.0 -1.0 -3.0 3.0 -1.0 3.0 3.0 -1.0 -3.0 -1.0 2.5 -1.0 1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 1.0
demomaterialids ← 4 r̲eshape 1 1 3 3
demogroupids ← 4 r̲eshape 1 1 1 1
demomaterials ← 3 4 r̲eshape 0.5 0.5 0.5 0.15 1.0 1.0 1.0 0.0 0.0 0.0 0.0 0.0
demotransforms ← 1 4 4 r̲eshape 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0
demopivots ← 1 3 r̲eshape 0.0 0.0 0.0
democamera ← 10 r̲eshape 0.0 0.5 5.0 0.0 0.0 0.0 0.0 1.0 0.0 0.9
demolights ← 0 6 r̲eshape 0.0
demotriangleids ← 4 r̲eshape 1 2 4 5
demosphereids ← 1 r̲eshape 3
demotriangleobjectids ← 4 r̲eshape 0 0 0 0
demosphereobjectids ← 1 r̲eshape 2
demospherematerialids ← 1 r̲eshape 2
demospheregroupids ← 1 r̲eshape 1
demosceneversion ← 2
demolens ← 2 r̲eshape 0.08 5.0
demoemitters ← 1 3 3 r̲eshape -1.0 2.5 -1.0 2.0 0.0 0.0 0.0 0.0 2.0
demoemitterradiance ← 1 3 r̲eshape 12.0 10.0 8.0
demospheres ← 1 4 r̲eshape 0.0 0.0 0.0 0.7
demomaterialkind ← 3 r̲eshape 0 1 0
demooptics ← 3 5 r̲eshape 0.0 1.0 0.0 0.0 0.0 1.0 1.5 0.05 0.1 0.15 0.0 1.0 0.0 0.0 0.0
demoemission ← 3 3 r̲eshape 0.0 0.0 0.0 0.0 0.0 0.0 12.0 10.0 8.0

demolens : Float

value · line 7
"demo" ˢᶜs̲cene2< "lens aperture .08 focus 5\nfloor ground origin -3 -1 -3 u 0 0 6 v 6 0 0 material gray\nsphere ball center 0 0 0 radius .7 material glass\nemitter panel origin -1 2.5 -1 u 2 0 0 v 0 0 2 radiance 12 10 8\nmaterial gray color .5 .5 .5 reflection .15\ndielectric glass color 1 1 1 transmission 1 ior 1.5 absorption .05 .1 .15\ncamera eye 0 .5 5 target 0 0 0 up 0 1 0 fov .9"
ˢᶜs̲cene2< expands to
demotriangles ← 4 3 3 r̲eshape -3.0 -1.0 -3.0 -3.0 -1.0 3.0 3.0 -1.0 3.0 -3.0 -1.0 -3.0 3.0 -1.0 3.0 3.0 -1.0 -3.0 -1.0 2.5 -1.0 1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 1.0
demomaterialids ← 4 r̲eshape 1 1 3 3
demogroupids ← 4 r̲eshape 1 1 1 1
demomaterials ← 3 4 r̲eshape 0.5 0.5 0.5 0.15 1.0 1.0 1.0 0.0 0.0 0.0 0.0 0.0
demotransforms ← 1 4 4 r̲eshape 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0
demopivots ← 1 3 r̲eshape 0.0 0.0 0.0
democamera ← 10 r̲eshape 0.0 0.5 5.0 0.0 0.0 0.0 0.0 1.0 0.0 0.9
demolights ← 0 6 r̲eshape 0.0
demotriangleids ← 4 r̲eshape 1 2 4 5
demosphereids ← 1 r̲eshape 3
demotriangleobjectids ← 4 r̲eshape 0 0 0 0
demosphereobjectids ← 1 r̲eshape 2
demospherematerialids ← 1 r̲eshape 2
demospheregroupids ← 1 r̲eshape 1
demosceneversion ← 2
demolens ← 2 r̲eshape 0.08 5.0
demoemitters ← 1 3 3 r̲eshape -1.0 2.5 -1.0 2.0 0.0 0.0 0.0 0.0 2.0
demoemitterradiance ← 1 3 r̲eshape 12.0 10.0 8.0
demospheres ← 1 4 r̲eshape 0.0 0.0 0.0 0.7
demomaterialkind ← 3 r̲eshape 0 1 0
demooptics ← 3 5 r̲eshape 0.0 1.0 0.0 0.0 0.0 1.0 1.5 0.05 0.1 0.15 0.0 1.0 0.0 0.0 0.0
demoemission ← 3 3 r̲eshape 0.0 0.0 0.0 0.0 0.0 0.0 12.0 10.0 8.0
Used in: origins

demoemitters : Float

value · line 7
"demo" ˢᶜs̲cene2< "lens aperture .08 focus 5\nfloor ground origin -3 -1 -3 u 0 0 6 v 6 0 0 material gray\nsphere ball center 0 0 0 radius .7 material glass\nemitter panel origin -1 2.5 -1 u 2 0 0 v 0 0 2 radiance 12 10 8\nmaterial gray color .5 .5 .5 reflection .15\ndielectric glass color 1 1 1 transmission 1 ior 1.5 absorption .05 .1 .15\ncamera eye 0 .5 5 target 0 0 0 up 0 1 0 fov .9"
ˢᶜs̲cene2< expands to
demotriangles ← 4 3 3 r̲eshape -3.0 -1.0 -3.0 -3.0 -1.0 3.0 3.0 -1.0 3.0 -3.0 -1.0 -3.0 3.0 -1.0 3.0 3.0 -1.0 -3.0 -1.0 2.5 -1.0 1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 1.0
demomaterialids ← 4 r̲eshape 1 1 3 3
demogroupids ← 4 r̲eshape 1 1 1 1
demomaterials ← 3 4 r̲eshape 0.5 0.5 0.5 0.15 1.0 1.0 1.0 0.0 0.0 0.0 0.0 0.0
demotransforms ← 1 4 4 r̲eshape 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0
demopivots ← 1 3 r̲eshape 0.0 0.0 0.0
democamera ← 10 r̲eshape 0.0 0.5 5.0 0.0 0.0 0.0 0.0 1.0 0.0 0.9
demolights ← 0 6 r̲eshape 0.0
demotriangleids ← 4 r̲eshape 1 2 4 5
demosphereids ← 1 r̲eshape 3
demotriangleobjectids ← 4 r̲eshape 0 0 0 0
demosphereobjectids ← 1 r̲eshape 2
demospherematerialids ← 1 r̲eshape 2
demospheregroupids ← 1 r̲eshape 1
demosceneversion ← 2
demolens ← 2 r̲eshape 0.08 5.0
demoemitters ← 1 3 3 r̲eshape -1.0 2.5 -1.0 2.0 0.0 0.0 0.0 0.0 2.0
demoemitterradiance ← 1 3 r̲eshape 12.0 10.0 8.0
demospheres ← 1 4 r̲eshape 0.0 0.0 0.0 0.7
demomaterialkind ← 3 r̲eshape 0 1 0
demooptics ← 3 5 r̲eshape 0.0 1.0 0.0 0.0 0.0 1.0 1.5 0.05 0.1 0.15 0.0 1.0 0.0 0.0 0.0
demoemission ← 3 3 r̲eshape 0.0 0.0 0.0 0.0 0.0 0.0 12.0 10.0 8.0
Used in: area

demoemitterradiance : Float

value · line 7
"demo" ˢᶜs̲cene2< "lens aperture .08 focus 5\nfloor ground origin -3 -1 -3 u 0 0 6 v 6 0 0 material gray\nsphere ball center 0 0 0 radius .7 material glass\nemitter panel origin -1 2.5 -1 u 2 0 0 v 0 0 2 radiance 12 10 8\nmaterial gray color .5 .5 .5 reflection .15\ndielectric glass color 1 1 1 transmission 1 ior 1.5 absorption .05 .1 .15\ncamera eye 0 .5 5 target 0 0 0 up 0 1 0 fov .9"
ˢᶜs̲cene2< expands to
demotriangles ← 4 3 3 r̲eshape -3.0 -1.0 -3.0 -3.0 -1.0 3.0 3.0 -1.0 3.0 -3.0 -1.0 -3.0 3.0 -1.0 3.0 3.0 -1.0 -3.0 -1.0 2.5 -1.0 1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 1.0
demomaterialids ← 4 r̲eshape 1 1 3 3
demogroupids ← 4 r̲eshape 1 1 1 1
demomaterials ← 3 4 r̲eshape 0.5 0.5 0.5 0.15 1.0 1.0 1.0 0.0 0.0 0.0 0.0 0.0
demotransforms ← 1 4 4 r̲eshape 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0
demopivots ← 1 3 r̲eshape 0.0 0.0 0.0
democamera ← 10 r̲eshape 0.0 0.5 5.0 0.0 0.0 0.0 0.0 1.0 0.0 0.9
demolights ← 0 6 r̲eshape 0.0
demotriangleids ← 4 r̲eshape 1 2 4 5
demosphereids ← 1 r̲eshape 3
demotriangleobjectids ← 4 r̲eshape 0 0 0 0
demosphereobjectids ← 1 r̲eshape 2
demospherematerialids ← 1 r̲eshape 2
demospheregroupids ← 1 r̲eshape 1
demosceneversion ← 2
demolens ← 2 r̲eshape 0.08 5.0
demoemitters ← 1 3 3 r̲eshape -1.0 2.5 -1.0 2.0 0.0 0.0 0.0 0.0 2.0
demoemitterradiance ← 1 3 r̲eshape 12.0 10.0 8.0
demospheres ← 1 4 r̲eshape 0.0 0.0 0.0 0.7
demomaterialkind ← 3 r̲eshape 0 1 0
demooptics ← 3 5 r̲eshape 0.0 1.0 0.0 0.0 0.0 1.0 1.5 0.05 0.1 0.15 0.0 1.0 0.0 0.0 0.0
demoemission ← 3 3 r̲eshape 0.0 0.0 0.0 0.0 0.0 0.0 12.0 10.0 8.0
Used in: area

demospheres : Float

value · line 7
"demo" ˢᶜs̲cene2< "lens aperture .08 focus 5\nfloor ground origin -3 -1 -3 u 0 0 6 v 6 0 0 material gray\nsphere ball center 0 0 0 radius .7 material glass\nemitter panel origin -1 2.5 -1 u 2 0 0 v 0 0 2 radiance 12 10 8\nmaterial gray color .5 .5 .5 reflection .15\ndielectric glass color 1 1 1 transmission 1 ior 1.5 absorption .05 .1 .15\ncamera eye 0 .5 5 target 0 0 0 up 0 1 0 fov .9"
ˢᶜs̲cene2< expands to
demotriangles ← 4 3 3 r̲eshape -3.0 -1.0 -3.0 -3.0 -1.0 3.0 3.0 -1.0 3.0 -3.0 -1.0 -3.0 3.0 -1.0 3.0 3.0 -1.0 -3.0 -1.0 2.5 -1.0 1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 1.0
demomaterialids ← 4 r̲eshape 1 1 3 3
demogroupids ← 4 r̲eshape 1 1 1 1
demomaterials ← 3 4 r̲eshape 0.5 0.5 0.5 0.15 1.0 1.0 1.0 0.0 0.0 0.0 0.0 0.0
demotransforms ← 1 4 4 r̲eshape 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0
demopivots ← 1 3 r̲eshape 0.0 0.0 0.0
democamera ← 10 r̲eshape 0.0 0.5 5.0 0.0 0.0 0.0 0.0 1.0 0.0 0.9
demolights ← 0 6 r̲eshape 0.0
demotriangleids ← 4 r̲eshape 1 2 4 5
demosphereids ← 1 r̲eshape 3
demotriangleobjectids ← 4 r̲eshape 0 0 0 0
demosphereobjectids ← 1 r̲eshape 2
demospherematerialids ← 1 r̲eshape 2
demospheregroupids ← 1 r̲eshape 1
demosceneversion ← 2
demolens ← 2 r̲eshape 0.08 5.0
demoemitters ← 1 3 3 r̲eshape -1.0 2.5 -1.0 2.0 0.0 0.0 0.0 0.0 2.0
demoemitterradiance ← 1 3 r̲eshape 12.0 10.0 8.0
demospheres ← 1 4 r̲eshape 0.0 0.0 0.0 0.7
demomaterialkind ← 3 r̲eshape 0 1 0
demooptics ← 3 5 r̲eshape 0.0 1.0 0.0 0.0 0.0 1.0 1.5 0.05 0.1 0.15 0.0 1.0 0.0 0.0 0.0
demoemission ← 3 3 r̲eshape 0.0 0.0 0.0 0.0 0.0 0.0 12.0 10.0 8.0
Used in: world

demomaterialkind : Int

value · line 7
"demo" ˢᶜs̲cene2< "lens aperture .08 focus 5\nfloor ground origin -3 -1 -3 u 0 0 6 v 6 0 0 material gray\nsphere ball center 0 0 0 radius .7 material glass\nemitter panel origin -1 2.5 -1 u 2 0 0 v 0 0 2 radiance 12 10 8\nmaterial gray color .5 .5 .5 reflection .15\ndielectric glass color 1 1 1 transmission 1 ior 1.5 absorption .05 .1 .15\ncamera eye 0 .5 5 target 0 0 0 up 0 1 0 fov .9"
ˢᶜs̲cene2< expands to
demotriangles ← 4 3 3 r̲eshape -3.0 -1.0 -3.0 -3.0 -1.0 3.0 3.0 -1.0 3.0 -3.0 -1.0 -3.0 3.0 -1.0 3.0 3.0 -1.0 -3.0 -1.0 2.5 -1.0 1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 1.0
demomaterialids ← 4 r̲eshape 1 1 3 3
demogroupids ← 4 r̲eshape 1 1 1 1
demomaterials ← 3 4 r̲eshape 0.5 0.5 0.5 0.15 1.0 1.0 1.0 0.0 0.0 0.0 0.0 0.0
demotransforms ← 1 4 4 r̲eshape 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0
demopivots ← 1 3 r̲eshape 0.0 0.0 0.0
democamera ← 10 r̲eshape 0.0 0.5 5.0 0.0 0.0 0.0 0.0 1.0 0.0 0.9
demolights ← 0 6 r̲eshape 0.0
demotriangleids ← 4 r̲eshape 1 2 4 5
demosphereids ← 1 r̲eshape 3
demotriangleobjectids ← 4 r̲eshape 0 0 0 0
demosphereobjectids ← 1 r̲eshape 2
demospherematerialids ← 1 r̲eshape 2
demospheregroupids ← 1 r̲eshape 1
demosceneversion ← 2
demolens ← 2 r̲eshape 0.08 5.0
demoemitters ← 1 3 3 r̲eshape -1.0 2.5 -1.0 2.0 0.0 0.0 0.0 0.0 2.0
demoemitterradiance ← 1 3 r̲eshape 12.0 10.0 8.0
demospheres ← 1 4 r̲eshape 0.0 0.0 0.0 0.7
demomaterialkind ← 3 r̲eshape 0 1 0
demooptics ← 3 5 r̲eshape 0.0 1.0 0.0 0.0 0.0 1.0 1.5 0.05 0.1 0.15 0.0 1.0 0.0 0.0 0.0
demoemission ← 3 3 r̲eshape 0.0 0.0 0.0 0.0 0.0 0.0 12.0 10.0 8.0
Used in: world

demooptics : Float

value · line 7
"demo" ˢᶜs̲cene2< "lens aperture .08 focus 5\nfloor ground origin -3 -1 -3 u 0 0 6 v 6 0 0 material gray\nsphere ball center 0 0 0 radius .7 material glass\nemitter panel origin -1 2.5 -1 u 2 0 0 v 0 0 2 radiance 12 10 8\nmaterial gray color .5 .5 .5 reflection .15\ndielectric glass color 1 1 1 transmission 1 ior 1.5 absorption .05 .1 .15\ncamera eye 0 .5 5 target 0 0 0 up 0 1 0 fov .9"
ˢᶜs̲cene2< expands to
demotriangles ← 4 3 3 r̲eshape -3.0 -1.0 -3.0 -3.0 -1.0 3.0 3.0 -1.0 3.0 -3.0 -1.0 -3.0 3.0 -1.0 3.0 3.0 -1.0 -3.0 -1.0 2.5 -1.0 1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 1.0
demomaterialids ← 4 r̲eshape 1 1 3 3
demogroupids ← 4 r̲eshape 1 1 1 1
demomaterials ← 3 4 r̲eshape 0.5 0.5 0.5 0.15 1.0 1.0 1.0 0.0 0.0 0.0 0.0 0.0
demotransforms ← 1 4 4 r̲eshape 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0
demopivots ← 1 3 r̲eshape 0.0 0.0 0.0
democamera ← 10 r̲eshape 0.0 0.5 5.0 0.0 0.0 0.0 0.0 1.0 0.0 0.9
demolights ← 0 6 r̲eshape 0.0
demotriangleids ← 4 r̲eshape 1 2 4 5
demosphereids ← 1 r̲eshape 3
demotriangleobjectids ← 4 r̲eshape 0 0 0 0
demosphereobjectids ← 1 r̲eshape 2
demospherematerialids ← 1 r̲eshape 2
demospheregroupids ← 1 r̲eshape 1
demosceneversion ← 2
demolens ← 2 r̲eshape 0.08 5.0
demoemitters ← 1 3 3 r̲eshape -1.0 2.5 -1.0 2.0 0.0 0.0 0.0 0.0 2.0
demoemitterradiance ← 1 3 r̲eshape 12.0 10.0 8.0
demospheres ← 1 4 r̲eshape 0.0 0.0 0.0 0.7
demomaterialkind ← 3 r̲eshape 0 1 0
demooptics ← 3 5 r̲eshape 0.0 1.0 0.0 0.0 0.0 1.0 1.5 0.05 0.1 0.15 0.0 1.0 0.0 0.0 0.0
demoemission ← 3 3 r̲eshape 0.0 0.0 0.0 0.0 0.0 0.0 12.0 10.0 8.0
Used in: world

demoemission : Float

value · line 7
"demo" ˢᶜs̲cene2< "lens aperture .08 focus 5\nfloor ground origin -3 -1 -3 u 0 0 6 v 6 0 0 material gray\nsphere ball center 0 0 0 radius .7 material glass\nemitter panel origin -1 2.5 -1 u 2 0 0 v 0 0 2 radiance 12 10 8\nmaterial gray color .5 .5 .5 reflection .15\ndielectric glass color 1 1 1 transmission 1 ior 1.5 absorption .05 .1 .15\ncamera eye 0 .5 5 target 0 0 0 up 0 1 0 fov .9"
ˢᶜs̲cene2< expands to
demotriangles ← 4 3 3 r̲eshape -3.0 -1.0 -3.0 -3.0 -1.0 3.0 3.0 -1.0 3.0 -3.0 -1.0 -3.0 3.0 -1.0 3.0 3.0 -1.0 -3.0 -1.0 2.5 -1.0 1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 -1.0 1.0 2.5 1.0 -1.0 2.5 1.0
demomaterialids ← 4 r̲eshape 1 1 3 3
demogroupids ← 4 r̲eshape 1 1 1 1
demomaterials ← 3 4 r̲eshape 0.5 0.5 0.5 0.15 1.0 1.0 1.0 0.0 0.0 0.0 0.0 0.0
demotransforms ← 1 4 4 r̲eshape 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0 0.0 0.0 0.0 0.0 1.0
demopivots ← 1 3 r̲eshape 0.0 0.0 0.0
democamera ← 10 r̲eshape 0.0 0.5 5.0 0.0 0.0 0.0 0.0 1.0 0.0 0.9
demolights ← 0 6 r̲eshape 0.0
demotriangleids ← 4 r̲eshape 1 2 4 5
demosphereids ← 1 r̲eshape 3
demotriangleobjectids ← 4 r̲eshape 0 0 0 0
demosphereobjectids ← 1 r̲eshape 2
demospherematerialids ← 1 r̲eshape 2
demospheregroupids ← 1 r̲eshape 1
demosceneversion ← 2
demolens ← 2 r̲eshape 0.08 5.0
demoemitters ← 1 3 3 r̲eshape -1.0 2.5 -1.0 2.0 0.0 0.0 0.0 0.0 2.0
demoemitterradiance ← 1 3 r̲eshape 12.0 10.0 8.0
demospheres ← 1 4 r̲eshape 0.0 0.0 0.0 0.7
demomaterialkind ← 3 r̲eshape 0 1 0
demooptics ← 3 5 r̲eshape 0.0 1.0 0.0 0.0 0.0 1.0 1.5 0.05 0.1 0.15 0.0 1.0 0.0 0.0 0.0
demoemission ← 3 3 r̲eshape 0.0 0.0 0.0 0.0 0.0 0.0 12.0 10.0 8.0
Used in: world

world : ((Float, Float), (Int, Int, Int, Int, Int, Int), (Float, Int, Float, Float, Float), Int, Int, Float)

value · line 8
world ← ((demotriangles, demospheres) ᵍˡp̲reflight (demotriangleids, demosphereids, demotriangleobjectids, demosphereobjectids, demomaterialids, demospherematerialids)) (demomaterials, demomaterialkind, demooptics, demoemission, demolights)
Used in: area, medium

area : (((Float, Float), (Int, Int, Int, Int, Int, Int), (Float, Int, Float, Float, Float), Int, Int, Float), Float, Float)

value · line 9
area ← (world ᵍˡp̲reflightArea demoemitters) demoemitterradiance
Used in: color

size : Int

value · line 10
size ← 8 6

spp : Int

value · line 12
spp ← 1
Used in: n, pixels, samples, image

pixelcount : Int

value · line 13
pixelcount ← '× r̲/ size
Used in: n, image

n : Int

value · line 14
n ← pixelcount × spp

pixels : Int

value · line 15
pixels ← ((r̲ange n) − 1) d̲iv spp

samples : Int

value · line 16
samples ← ((r̲ange n) − 1) m̲od spp
Used in: identities

identities : Int

value · line 17
identities ← o̲\ ((1 c̲at n) r̲eshape pixels) c̲at (1 c̲at n) r̲eshape samples

ᵘc̲ounters : Int -> Int

function · line 18
ᵘc̲ounters ← { dimension →
  o̲\ (o̲\ identities) c̲at ((1 c̲at n) r̲eshape 4294967295) c̲at (1 c̲at n) r̲eshape dimension
}
Used in: film, disk

ᵘc̲olumns : a -> a -> a

function · line 21
ᵘc̲olumns ← { x y → o̲\ ((1 c̲at n) r̲eshape x) c̲at (1 c̲at n) r̲eshape y }
Used in: film, disk

film : Float

value · line 22
film ← (123 ʳs̲amples ᵘc̲ounters 0) ᵘc̲olumns 123 ʳs̲amples ᵘc̲ounters 1
Used in: pinhole

disk : Float

value · line 23
disk ← ʳd̲isk (123 ʳs̲amples ᵘc̲ounters 2) ᵘc̲olumns 123 ʳs̲amples ᵘc̲ounters 3
Used in: origins

pinhole : Float

value · line 24
pinhole ← (((democamera ʳᵗr̲aysAt size) pixels + 1) film)
Used in: origins

origins : Float

value · line 25
(origins, directions) ← (((democamera ʳᵗl̲ensRays demolens) pinhole) disk)
Used in: origins, medium, color

directions : Float

value · line 25
(origins, directions) ← (((democamera ʳᵗl̲ensRays demolens) pinhole) disk)
Used in: origins, color

medium : Int

value · line 26
medium ← world ᵍˡm̲ediums origins
Used in: color

color : Float

value · line 27
(color, _, _, _, _, active, counts, clipped) ← (((((((area ᵍˡt̲raceArea 0.00001 100.0 1e-10 0.000001) 2 3 r̲eshape 0.0 0.0 0.0 0.1 0.15 0.2) origins) directions) medium) identities) 123 4)
Used in: color, image

active : Int

value · line 27
(color, _, _, _, _, active, counts, clipped) ← (((((((area ᵍˡt̲raceArea 0.00001 100.0 1e-10 0.000001) 2 3 r̲eshape 0.0 0.0 0.0 0.1 0.15 0.2) origins) directions) medium) identities) 123 4)

counts : Int

value · line 27
(color, _, _, _, _, active, counts, clipped) ← (((((((area ᵍˡt̲raceArea 0.00001 100.0 1e-10 0.000001) 2 3 r̲eshape 0.0 0.0 0.0 0.1 0.15 0.2) origins) directions) medium) identities) 123 4)
Used in: color

clipped : Int

value · line 27
(color, _, _, _, _, active, counts, clipped) ← (((((((area ᵍˡt̲raceArea 0.00001 100.0 1e-10 0.000001) 2 3 r̲eshape 0.0 0.0 0.0 0.1 0.15 0.2) origins) directions) medium) identities) 123 4)

image : Float

value · line 28
image ← ('+ r̲/₂ (pixelcount c̲at spp c̲at 3) r̲eshape color) ÷ f̲loat spp
Used in: picture

picture : Char

value · line 30
picture ← size ʳᵗs̲how! 1.0 ʳᵗs̲rgb image