// 2J情報工学演習 自由制作作品例「ソーセー人の襲来」 // (c) 2015.05.11 yanagwa@kushiro-ct.ac.jp #include "shapes.inc" #include "colors.inc" #include "ssj.inc" global_settings { charset utf8 ambient_light color White*1.0 } #default { finish { ambient 0.5 diffuse 0.5 } } //light_source { <10, 10, -10> color White*1.0 parallel point_at <-100, 0, 0> } light_source { <0,0,-100> color White*2.0 area_light <-40,0,-40>, <30,0,30>, 3, 3 circular orient jitter rotate 45*x rotate -0*y translate 3*y } /* camera { location <0, 0, -150> look_at <20, 0, -10> angle 5 rotate -10*y rotate 20*x translate 3*y translate 0*x } */ camera { location <0, 0, -150> look_at <0, 0, 0> angle 15 rotate 15*x rotate -12*y translate 6*y translate 18*x } // フランクフルトソーセー人 object { Souseijin0 scale 2 rotate -20*y translate <21, 1, -28> } object { Souseijin2 scale 2 rotate -20*y translate <28, 1, -28> } object { Souseijin1 scale 2 rotate -20*y translate <35, 1, -28> } // フライパンで調理中のソーセー人 union { object { Souseijin0 rotate -45*y translate < -7, 0.5, -7> } object { Souseijin0 rotate -45*y translate < 0, 0.5, -8> } object { Souseijin1 rotate -45*y translate <-10, 0.5, 0> } object { Souseijin1 rotate -45*y translate < -5, 0.5, 0> } object { SouseijinS rotate 90*x rotate 30*z rotate -120*y translate <-3, 1.5, 8> } object { SouseijinS rotate 90*x rotate 60*z rotate -90*y translate < 3, 1.5, 4> } object { SouseijinS rotate 90*x rotate -30*z rotate -60*y translate < 3, 1.5, 8> } object { Pan } rotate 30*y translate <20, 5, -10> } // アイテム object { SaltBottle translate <36, 1, 10>} object { PepperBottle translate <32, 1, 11>} // 舞台 object { Kitchen } background { color LightBlue }