from lightflowPM import * s = scene() s.newInterface( "default",["trace-depth", 6,"radiosity-depth", 6,"radiosity-samples", 400,"radiosity-threshold", 0.1,"radiosity-reuse-distance", 0.25, 0.4, 0.01,"photon-count", 300000,"photon-clustering-count", 2000, 100 ]) s.lightOn(s.newLight('soft-conic', [ 'position', vector3(-1.90734863281e-006, 9.89949512482, 9.89949607849), 'color', vector3(150.0, 150.0, 150.0), 'radius', 0.045000000596, 'direction', vector3(3.28756796216e-007, -0.707106796641, -0.707106765732), 'angle', 0.726493298802, 0.785398163397])) s.lightOn(s.newLight('soft-conic', [ 'position', vector3(5.16218757629, -8.94117355347, 14.7447366714), 'color', vector3(250.0, 250.0, 250.0), 'radius', 0.045000000596, 'direction', vector3(-0.286788150199, 0.496731745046, -0.819152080123), 'angle', 0.726493298802, 0.785398163397])) s.lightOn(s.newLight('soft-conic', [ 'position', vector3(0.0, 0.0, 14.0), 'color', vector3(100.0, 100.0, 100.0), 'radius', 0.045000000596, 'direction', vector3(0.0, 0.0, -1.0), 'angle', 0.726493298802, 0.785398163397])) s.lightOn(s.newLight('soft-conic', [ 'position', vector3(9.89949512482, 0.0, 9.89949607849), 'color', vector3(150.0, 150.0, 150.0), 'radius', 0.045000000596, 'direction', vector3(-0.707106754494, 0.0, -0.707106807879), 'angle', 0.726493298802, 0.785398163397])) s.lightOn(s.newLight('soft-conic', [ 'position', vector3(9.53674316406e-007, -9.89949512482, 9.89949607849), 'color', vector3(150.0, 150.0, 150.0), 'radius', 0.045000000596, 'direction', vector3(-5.33850696969e-008, 0.707106754494, -0.707106807879), 'angle', 0.726493298802, 0.785398163397])) s.lightOn(s.newLight('soft-conic', [ 'position', vector3(-9.89949512482, -2.08616256714e-006, 9.89949607849), 'color', vector3(150.0, 150.0, 150.0), 'radius', 0.045000000596, 'direction', vector3(0.707106796641, 1.06784322621e-007, -0.707106765732),'angle', 0.726493298802, 0.785398163397])) LFPAT1 = s.newPattern( 'map', [ 'texture', s.newTexture('/Mijn documenten/Hans/textures/hout/madarose.tga'), 'type', 'surface'] ) LFMAT1 = s.newMaterial( 'standard', [ 'kc', vector3(1.0, 1.0, 1.0), 'kc', LFPAT1, 'displacement', LFPAT1, 'kd', 1.000000, 'ksg', 0.000000, 'km', 0.335213 ,'radiosity', 1, 'caustics', 4, 4 ] ) LFPAT2 = s.newPattern( 'map', [ 'texture', s.newTexture('/Mijn documenten/Hans/textures/hout/madarose.tga'), 'type', 'surface'] ) LFMAT2 = s.newMaterial( 'standard', [ 'kc', vector3(1.0, 1.0, 1.0), 'kc', LFPAT2, 'displacement', LFPAT2, 'kd', 1.000000, 'ksg', 0.000000, 'km', 0.335213 ,'radiosity', 1, 'caustics', 4, 4 ] ) LFPAT3 = s.newPattern( 'map', [ 'texture', s.newTexture('/Mijn documenten/Hans/textures/hout/madarose.tga'), 'type', 'surface'] ) LFMAT3 = s.newMaterial( 'standard', [ 'kc', vector3(1.0, 1.0, 1.0), 'kc', LFPAT3, 'displacement', LFPAT3, 'kd', 1.000000, 'ksg', 0.000000, 'km', 0.335213 ,'radiosity', 1, 'caustics', 4, 4 ] ) LFPAT4 = s.newPattern( 'map', [ 'texture', s.newTexture('/Mijn documenten/Hans/textures/hout/madarose.tga'), 'type', 'surface'] ) LFMAT4 = s.newMaterial( 'standard', [ 'kc', vector3(1.0, 1.0, 1.0), 'kc', LFPAT4, 'displacement', LFPAT4, 'kd', 1.000000, 'ksg', 0.000000, 'km', 0.335213 ,'radiosity', 1, 'caustics', 4, 4 ] ) LFPAT5 = s.newPattern( 'map', [ 'texture', s.newTexture('/Mijn documenten/Hans/textures/Animax/Woods/wd-a-24-0002.tga'), 'type', 'surface'] ) LFMAT5 = s.newMaterial( 'standard', [ 'kc', vector3(1.0, 1.0, 1.0), 'kc', LFPAT5, 'kd', 0.750000, 'ksg', 0.250000, 'km', 0.335213 ,'radiosity', 1, 'caustics', 4, 4 ] ) GlasColor = vector3( 0.80000 , 0.90000 , 1.00000) BlauwGlas = s.newMaterial("generic",[ "kdr" , vector3( 0.00000 , 0.00000 , 0.00000) , "kdt" , vector3( 0.00000 , 0.00000 , 0.00000) , "ksr" , vector3( 1.00000 , 1.00000 , 1.00000) , vector3( 1.00000 , 1.00000 , 1.00000) , "kst" , vector3( 1.00000 , 1.00000 , 1.00000) , vector3( 1.00000 , 1.00000 , 1.00000) , "kr" , vector3( 1.00000 , 1.00000 , 1.00000) , "kt" , GlasColor , "km" , 0.01000 , "IOR" , 1.52000 , "fresnel" , 1 , "shinyness" , 1.00000 , "radiosity" , 1 , "transmission" , 0 , "caustics" , 4 , 4 ]) GlasColor2 = vector3( 1.0,0.7,0.7) ZwartGlas = s.newMaterial("generic",[ "kdr" , vector3( 0.00000 , 0.00000 , 0.00000) , "kdt" , vector3( 0.00000 , 0.00000 , 0.00000) , "ksr" , vector3( 1.00000 , 1.00000 , 1.00000) , vector3( 1.00000 , 1.00000 , 1.00000) , "kst" , vector3( 1.00000 , 1.00000 , 1.00000) , vector3( 1.00000 , 1.00000 , 1.00000) , "kr" , vector3( 1.00000 , 1.00000 , 1.00000) , "kt" , GlasColor2 , "km" , 0.01000 , "IOR" , 1.52000 , "fresnel" , 1 , "shinyness" , 1.00000 , "radiosity" , 1 , "transmission" , 0 , "caustics" , 4 , 4 ]) WitColor = vector3( 1.00000 , 1.00000 , 1.00000) WitRaytraceColor = vector3( 0.60000 , 0.60000 , 0.60000) WitDiffuse = 0.50000 WitBlinkend = s.newMaterial("standard",[ "kc" , WitColor , "kr" , WitRaytraceColor , "kd" , WitDiffuse , "km" , 0.10000 , "IOR" , 5.00000 , "fresnel" , 1 , 0.20000 , 0.20000 , "shinyness" , 0.50000 ]) ZwartColor = vector3( 0.20000 , 0.20000 , 0.20000) ZwartRaytraceColor = vector3( 0.60000 , 0.60000 , 0.60000) ZwartDiffuse = 0.50000 ZwartBlinkend = s.newMaterial("standard",[ "kc" , ZwartColor , "kr" , ZwartRaytraceColor , "kd" , ZwartDiffuse , "km" , 0.10000 , "IOR" , 5.00000 , "fresnel" , 1 , 0.20000 , 0.20000 , "shinyness" , 0.50000 ]) s.materialBegin(ZwartBlinkend) s.transformBegin(transform().translation( vector3(0.0,0.0,0.343761861324 ) )) s.transformBegin(transform().rotationAroundZ( 0.0 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 0.273479193449,0.273479193449,0.273479193449) )) s.addObject( s.newObject( 'mesh', [ 'file', 'BordWit_AS00.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(WitBlinkend) s.transformBegin(transform().translation( vector3(0.0,0.0,0.343761861324 ) )) s.transformBegin(transform().rotationAroundZ( 0.0 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 0.273479193449,0.273479193449,0.273479193449) )) s.addObject( s.newObject( 'mesh', [ 'file', 'BordZwart_AS00.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(LFMAT1) s.transformBegin(transform().translation( vector3(0.0,0.0,0.343761861324 ) )) s.transformBegin(transform().rotationAroundZ( 1.5707962513 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 0.265995830297,0.265995830297,0.265995830297) )) s.addObject( s.newObject( 'mesh', [ 'file', 'BordAchter_DISP.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(LFMAT2) s.transformBegin(transform().translation( vector3(0.0,0.0,0.343761861324 ) )) s.transformBegin(transform().rotationAroundZ( 0.0 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 0.265995830297,0.265995830297,0.265995830297) )) s.addObject( s.newObject( 'mesh', [ 'file', 'BordLinks_DISP.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(LFMAT3) s.transformBegin(transform().translation( vector3(0.0,0.0,0.343761861324 ) )) s.transformBegin(transform().rotationAroundZ( 0.0 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 0.265995830297,0.265995830297,0.265995830297) )) s.addObject( s.newObject( 'mesh', [ 'file', 'BordRechts_DISP.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(LFMAT4) s.transformBegin(transform().translation( vector3(0.0,0.0,0.343761861324 ) )) s.transformBegin(transform().rotationAroundZ( 0.0 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 0.265995830297,0.265995830297,0.265995830297) )) s.addObject( s.newObject( 'mesh', [ 'file', 'BordVoor_DISP.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(LFMAT5) s.transformBegin(transform().translation( vector3(0.0,0.0,0.0 ) )) s.transformBegin(transform().rotationAroundZ( 0.0 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 13.2241725922,13.2241725922,13.2241725922) )) s.addObject( s.newObject( 'mesh', [ 'file', 'Vloer.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(BlauwGlas) s.transformBegin(transform().translation( vector3(0.351308226585,-2.39159870148,0.380431950092 ) )) s.transformBegin(transform().rotationAroundZ( 0.0 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 0.10993129015,0.10993129015,0.10993129015) )) s.addObject( s.newObject( 'mesh', [ 'file', 'KoninginWit_AS45.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(BlauwGlas) s.transformBegin(transform().translation( vector3(-0.337673544884,-2.39159679413,0.385183513165 ) )) s.transformBegin(transform().rotationAroundZ( 0.0 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 0.116454802454,0.116454802454,0.116454802454) )) s.addObject( s.newObject( 'mesh', [ 'file', 'KoningWit_AS45.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(BlauwGlas) s.transformBegin(transform().translation( vector3(1.01506519318,-2.37494564056,0.774128854275 ) )) s.transformBegin(transform().rotationAroundZ( 3.14159250259 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 0.198030263186,0.198030263186,0.198030263186) )) s.addObject( s.newObject( 'mesh', [ 'file', 'Loperwit1_AS45.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(BlauwGlas) s.transformBegin(transform().translation( vector3(-1.01342129707,-2.38072776794,0.776065528393 ) )) s.transformBegin(transform().rotationAroundZ( 3.14159250259 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 0.198030263186,0.198030263186,0.198030263186) )) s.addObject( s.newObject( 'mesh', [ 'file', 'Loperwit2_AS45.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(BlauwGlas) s.transformBegin(transform().translation( vector3(-1.70188188553,-2.36527633667,0.777570545673 ) )) s.transformBegin(transform().rotationAroundZ( 3.14159250259 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 0.198030263186,0.198030263186,0.198030263186) )) s.addObject( s.newObject( 'mesh', [ 'file', 'PaardWit1_AS45.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(BlauwGlas) s.transformBegin(transform().translation( vector3(-1.70188188553,-2.36527633667,0.777570545673 ) )) s.transformBegin(transform().rotationAroundZ( 3.14159250259 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 0.198030263186,0.198030263186,0.198030263186) )) s.addObject( s.newObject( 'mesh', [ 'file', 'PaardWit2_AS45.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(BlauwGlas) s.transformBegin(transform().translation( vector3(-1.70188188553,-2.36527633667,0.777570545673 ) )) s.transformBegin(transform().rotationAroundZ( 3.14159250259 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 0.198030263186,0.198030263186,0.198030263186) )) s.addObject( s.newObject( 'mesh', [ 'file', 'Paardwit2_AS45.001.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(BlauwGlas) s.transformBegin(transform().translation( vector3(2.37214183807,-1.70106363297,0.381208866835 ) )) s.transformBegin(transform().rotationAroundZ( 3.14159250259 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 0.198030263186,0.198030263186,0.198030263186) )) s.addObject( s.newObject( 'mesh', [ 'file', 'Pionwit1_AS45.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(BlauwGlas) s.transformBegin(transform().translation( vector3(1.69813752174,-1.71743559837,0.381208866835 ) )) s.transformBegin(transform().rotationAroundZ( 3.14159250259 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 0.198030263186,0.198030263186,0.198030263186) )) s.addObject( s.newObject( 'mesh', [ 'file', 'Pionwit2_AS45.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(BlauwGlas) s.transformBegin(transform().translation( vector3(1.00808405876,-1.70171260834,0.579239070415 ) )) s.transformBegin(transform().rotationAroundZ( 3.14159250259 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 0.198030263186,0.198030263186,0.198030263186) )) s.addObject( s.newObject( 'mesh', [ 'file', 'Pionwit3_AS45.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(BlauwGlas) s.transformBegin(transform().translation( vector3(0.334079623222,-1.68598937988,0.579239070415 ) )) s.transformBegin(transform().rotationAroundZ( 3.14159250259 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 0.198030263186,0.198030263186,0.198030263186) )) s.addObject( s.newObject( 'mesh', [ 'file', 'Pionwit4_AS45.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(BlauwGlas) s.transformBegin(transform().translation( vector3(-0.355647802353,-1.71776008606,0.579239070415 ) )) s.transformBegin(transform().rotationAroundZ( 3.14159250259 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 0.198030263186,0.198030263186,0.198030263186) )) s.addObject( s.newObject( 'mesh', [ 'file', 'Pionwit5_AS45.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(BlauwGlas) s.transformBegin(transform().translation( vector3(-1.01360487938,-1.7020368576,0.579239070415 ) )) s.transformBegin(transform().rotationAroundZ( 3.14159250259 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 0.198030263186,0.198030263186,0.198030263186) )) s.addObject( s.newObject( 'mesh', [ 'file', 'Pionwit6_AS45.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(BlauwGlas) s.transformBegin(transform().translation( vector3(-1.68760991096,-1.71743512154,0.579239070415 ) )) s.transformBegin(transform().rotationAroundZ( 3.14159250259 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 0.198030263186,0.198030263186,0.198030263186) )) s.addObject( s.newObject( 'mesh', [ 'file', 'Pionwit7_AS45.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(BlauwGlas) s.transformBegin(transform().translation( vector3(-2.37766265869,-1.70106267929,0.579239070415 ) )) s.transformBegin(transform().rotationAroundZ( 3.14159250259 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 0.198030263186,0.198030263186,0.198030263186) )) s.addObject( s.newObject( 'mesh', [ 'file', 'Pionwit8_AS45.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(BlauwGlas) s.transformBegin(transform().translation( vector3(2.36849284172,-2.3538544178,0.37421131134 ) )) s.transformBegin(transform().rotationAroundZ( 0.0 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 0.20000000298,0.20000000298,0.20000000298) )) s.addObject( s.newObject( 'mesh', [ 'file', 'TorenWit1_AS45.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(BlauwGlas) s.transformBegin(transform().translation( vector3(-2.36940169334,-2.3538544178,0.37421131134 ) )) s.transformBegin(transform().rotationAroundZ( 0.0 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 0.20000000298,0.20000000298,0.20000000298) )) s.addObject( s.newObject( 'mesh', [ 'file', 'TorenWit2_AS45.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(ZwartGlas) s.transformBegin(transform().translation( vector3(0.351308226585,2.40840148926,0.380431979895 ) )) s.transformBegin(transform().rotationAroundZ( -1.48922936205e-008 ) ) s.transformBegin(transform().rotationAroundY( -0.000338626996381 ) ) s.transformBegin(transform().rotationAroundX( 2.9360214171e-007 ) ) s.transformBegin(transform().scaling( vector3( 0.10993129015,0.10993129015,0.10993129015) )) s.addObject( s.newObject( 'mesh', [ 'file', 'KoninginZwart_AS45.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(ZwartGlas) s.transformBegin(transform().translation( vector3(-0.351103544235,2.39204597473,1.73172414303 ) )) s.transformBegin(transform().rotationAroundZ( 0.0 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 1.57049417496 ) ) s.transformBegin(transform().scaling( vector3( 0.0375379733741,0.0375379659235,0.0375379659235) )) s.addObject( s.newObject( 'mesh', [ 'file', 'KoningZwart_AS45.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(ZwartGlas) s.transformBegin(transform().translation( vector3(1.016923666,2.35335445404,0.773423314095 ) )) s.transformBegin(transform().rotationAroundZ( 3.14159250259 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 0.198030263186,0.198030263186,0.198030263186) )) s.addObject( s.newObject( 'mesh', [ 'file', 'Loperzwart1_AS45.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(ZwartGlas) s.transformBegin(transform().translation( vector3(-1.01079416275,2.35913658142,0.775359988213 ) )) s.transformBegin(transform().rotationAroundZ( 3.14159250259 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 0.198030263186,0.198030263186,0.198030263186) )) s.addObject( s.newObject( 'mesh', [ 'file', 'Loperzwart2_AS45.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(ZwartGlas) s.transformBegin(transform().translation( vector3(-1.70188188553,-2.36527633667,0.777570545673 ) )) s.transformBegin(transform().rotationAroundZ( 3.14159250259 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 0.198030263186,0.198030263186,0.198030263186) )) s.addObject( s.newObject( 'mesh', [ 'file', 'PaardZwart1_AS45.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(ZwartGlas) s.transformBegin(transform().translation( vector3(-1.70188188553,-2.36527633667,0.777570545673 ) )) s.transformBegin(transform().rotationAroundZ( 3.14159250259 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 0.198030263186,0.198030263186,0.198030263186) )) s.addObject( s.newObject( 'mesh', [ 'file', 'PaardZwart2_AS45.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(ZwartGlas) s.transformBegin(transform().translation( vector3(2.37656116486,1.69450283051,0.381208866835 ) )) s.transformBegin(transform().rotationAroundZ( 3.14159250259 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 0.198030263186,0.198030263186,0.198030263186) )) s.addObject( s.newObject( 'mesh', [ 'file', 'Pionzwart1_AS45.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(ZwartGlas) s.transformBegin(transform().translation( vector3(1.68304657936,1.68754792213,0.381208866835 ) )) s.transformBegin(transform().rotationAroundZ( 3.14159250259 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 0.198030263186,0.198030263186,0.198030263186) )) s.addObject( s.newObject( 'mesh', [ 'file', 'Pionzwart2_AS45.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(ZwartGlas) s.transformBegin(transform().translation( vector3(1.01264977455,1.67834091187,0.579239070415 ) )) s.transformBegin(transform().rotationAroundZ( 3.14159250259 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 0.198030263186,0.198030263186,0.198030263186) )) s.addObject( s.newObject( 'mesh', [ 'file', 'Pionzwart3_AS45.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(ZwartGlas) s.transformBegin(transform().translation( vector3(0.330594450235,1.68529891968,0.579540073872 ) )) s.transformBegin(transform().rotationAroundZ( 3.14159250259 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 0.198030263186,0.198030263186,0.198030263186) )) s.addObject( s.newObject( 'mesh', [ 'file', 'Pionzwart4_AS45.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(ZwartGlas) s.transformBegin(transform().translation( vector3(-0.344306826591,1.68754816055,0.579239070415 ) )) s.transformBegin(transform().rotationAroundZ( 3.14159250259 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 0.198030263186,0.198030263186,0.198030263186) )) s.addObject( s.newObject( 'mesh', [ 'file', 'Pionzwart5_AS45.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(ZwartGlas) s.transformBegin(transform().translation( vector3(-1.029327631,1.68468379974,0.579239070415 ) )) s.transformBegin(transform().rotationAroundZ( 3.14159250259 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 0.198030263186,0.198030263186,0.198030263186) )) s.addObject( s.newObject( 'mesh', [ 'file', 'Pionzwart6_AS45.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(ZwartGlas) s.transformBegin(transform().translation( vector3(-1.70333218575,1.68403458595,0.579239070415 ) )) s.transformBegin(transform().rotationAroundZ( 3.14159250259 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 0.198030263186,0.198030263186,0.198030263186) )) s.addObject( s.newObject( 'mesh', [ 'file', 'Pionzwart7_AS45.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(ZwartGlas) s.transformBegin(transform().translation( vector3(-2.37733745575,1.68435955048,0.579239070415 ) )) s.transformBegin(transform().rotationAroundZ( 3.14159250259 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 0.198030263186,0.198030263186,0.198030263186) )) s.addObject( s.newObject( 'mesh', [ 'file', 'Pionzwart8_AS45.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(ZwartGlas) s.transformBegin(transform().translation( vector3(2.37231254578,2.38404011726,0.378030896187 ) )) s.transformBegin(transform().rotationAroundZ( 0.0 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 0.20000000298,0.20000000298,0.20000000298) )) s.addObject( s.newObject( 'mesh', [ 'file', 'TorenZwart1_AS45.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() s.materialBegin(ZwartGlas) s.transformBegin(transform().translation( vector3(-2.36940169334,2.38404011726,0.37421131134 ) )) s.transformBegin(transform().rotationAroundZ( 0.0 ) ) s.transformBegin(transform().rotationAroundY( 0.0 ) ) s.transformBegin(transform().rotationAroundX( 0.0 ) ) s.transformBegin(transform().scaling( vector3( 0.20000000298,0.20000000298,0.20000000298) )) s.addObject( s.newObject( 'mesh', [ 'file', 'TorenZwart2_AS45.mesh', 0] ) ) s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.transformEnd() s.materialEnd() dof = s.newImager("dof", [ "depth", 3.2347008367,"radius",0.003]) saver = s.newImager("tga-saver", [ "file", "chess5.tga", "imager", dof ] ) s.imagerBegin( saver ) camera = s.newCamera( "pinhole", [ "eye", vector3( 4.68198394775,-3.09300470352,0.785285353661 ), "aim", vector3(3.78592546757,-2.64906867199,0.785285278163), "fov",0.685714285714] ) s.imagerEnd() s.radiosity() s.render(camera,640,480)