//declaration nikolaus //Nikolaus //Rumpf #declare nikolaus_rumpf = cone { <0, 10, 0>, 11, <0, 35, 0>, 4 scale < 1.1, 1, 1> texture {pigment { rgb <1, 0, 0>} } } //Beine #declare nikolaus_linkes_bein = cylinder {<3.5, 10, 0>, <3.5, 0, 0>, 2.25 texture {pigment { rgb <0.2, 0.1, 0>} } } #declare nikolaus_rechtes_bein = cylinder { <-3.5, 10, 0>, <-3.5, 0, 0>, 2.25 texture {pigment { rgb <0.2, 0.1, 0>} } } #declare nikolaus_linker_fuss = sphere { <3.5, 0, -2>, 2.5 texture {pigment {rgb <0.2, 0.1, 0>} } scale <1, 1, 1.5> } #declare nikolaus_rechter_fuss = sphere { <-3.5, 0, -2>, 2.5 texture {pigment {rgb <0.2, 0.1, 0>} } scale <1, 1, 1.5> } #declare nikolaus_beine = union { object { nikolaus_linkes_bein} object { nikolaus_rechtes_bein} object { nikolaus_linker_fuss} object { nikolaus_rechter_fuss} } //Arme #declare nikolaus_linker_arm = cone { <5, 32, 0>, 3, <16, 18, 0>, 3 texture {pigment { rgb <1, 0, 0>} } } #declare nikolaus_rechter_arm = cone { <-5, 32, 0>, 3, <-16, 18, 0>, 3 texture {pigment { rgb <1, 0, 0>} } } #declare nikolaus_linke_hand = sphere { <17, 17, 0>, 2.5 texture {pigment {rgb <1, 0.8, 0.6>} } scale <1, 1, 1> } #declare nikolaus_rechte_hand = sphere { <-17, 17, 0>, 2.5 texture {pigment {rgb <1, 0.8, 0.6>} } scale <1, 1, 1> } #declare nikolaus_arme = union {object {nikolaus_linker_arm} object {nikolaus_rechter_arm} object {nikolaus_linke_hand} object {nikolaus_rechte_hand} } //Schultern #declare nikolaus_schultern1 = cylinder { <5, 32, 0>, <-5, 32, 0>, 3 texture {pigment { rgb <1,0,0>} } } #declare nikolaus_schulter_rechts = sphere { <5, 32, 0>, 3 texture {pigment {rgb <1, 0, 0>} } scale <1, 1, 1> } #declare nikolaus_schulter_links = sphere { <-5, 32, 0>, 3 texture {pigment {rgb <1, 0, 0>} } scale <1, 1, 1> } #declare nikolaus_schultern = union {object {nikolaus_schultern1} object {nikolaus_schulter_rechts} object { nikolaus_schulter_links} } //Kopf #declare nikolaus_schaedel = sphere { <0, 31.5, 0>, 5 texture {pigment {rgb <1, 0.8, 0.6>} } scale <1, 1.3, 1> } #declare nikolaus_rechtes_auge = sphere { <1.7, 41, -4>, 0.925 texture {pigment {rgb <0, 0, 0>} } } #declare nikolaus_linkes_auge = sphere { <-1.7, 41, -4>, 0.925 texture {pigment {rgb <0, 0, 0>} } } #declare nikolaus_nase = cone { <0, 41, -4.5>, 0.5, <0, 38.5, -5>, 1 texture {pigment { rgb <1, 0.65, 0.45>} } } #declare nikolaus_mund = torus {1.5,0.525 rotate <90,0,0> translate <0, 38.5, -3.65> texture {pigment {color rgb <1,0,0> }} } #declare nikolaus_kopf = union {object {nikolaus_schaedel} object {nikolaus_rechtes_auge} object {nikolaus_nase} object {nikolaus_mund} object {nikolaus_linkes_auge} } //Mütze #declare nikolaus_muetze = cone { <0.5, 44, 0>, 6.5, <3, 58, 0>, 0.75 texture {pigment { rgb <1, 0, 0>} } } //Plüsch an Mantel und Mütze #declare nikolaus_mantel1 = torus {3.3,1.1 translate <0,34.5,0> scale <1.3,1,1> texture { pigment {color rgb <1,1,1> } } } #declare nikolaus_mantel2 = torus {10.7,1 translate <0,10,0> scale <1.1,1,1> texture { pigment {color rgb <1,1,1> } } } #declare nikolaus_mantel3 = torus {2.5,1 rotate <0,0,37> translate <16,18,0> texture { pigment {color rgb <1,1,1> } } } #declare nikolaus_mantel4 = torus {2.5,1 rotate <0,0,142> translate <-16,18,0> texture { pigment {color rgb <1,1,1> } } } #declare nikolaus_mantel5 = torus {5.8,1 rotate <0,0,170> translate <0.5, 44, 0> texture { pigment {color rgb <1,1,1> } } } #declare nikolaus_mantel6 = sphere { <3, 58, 0>, 1.5 texture {pigment {rgb <1, 1, 1>} } } #declare nikolaus_mantel7 = cylinder { < 0, 35, -3.15>, < 0, 10, -10.7>, 1 texture {pigment { rgb <1, 1, 1>} } } #declare nikolaus_mantel = union {object {nikolaus_mantel1} object {nikolaus_mantel2} object {nikolaus_mantel3} object {nikolaus_mantel4} object {nikolaus_mantel5} object {nikolaus_mantel6} object {nikolaus_mantel7} } #declare nikolaus = union {object {nikolaus_rumpf} object {nikolaus_beine} object {nikolaus_arme} object {nikolaus_schultern} object {nikolaus_kopf} object {nikolaus_muetze} object {nikolaus_mantel} } //declaration Baum #declare stamm = cylinder { <0,0,0>, <0,10,0>, 3 texture { pigment { color rgb <0.2,0.1,0>} } } #declare tannengruen1 = cone { <0,10,0>, 15, <0,25,0>, 8 texture { pigment { color rgb <0,0.3,0>} } } #declare tannengruen2 = cone { <0,25,0>, 11, <0,40,0>, 4 texture { pigment { color rgb <0,0.4,0>} } } #declare tannengruen3 = cone { <0,40,0>, 7, <0,55,0>, 0 texture { pigment { color rgb <0,0.55,0>} } } #declare tanne = union {object {stamm} object {tannengruen1} object {tannengruen2} object {tannengruen3} } //declaration schneemann //Rumpf #declare schneemann_unten = sphere { <0,14,0>, 17 texture { pigment { color rgb <1,1,1> } } } #declare schneemann_mitte = sphere { <0,34,0>, 12 texture { pigment { color rgb <1,1,1> } } } #declare schneemann_oben = sphere { <0,53,0>, 8 texture { pigment { color rgb <1,1,1> } } } #declare schneemann_rumpf = union {object {schneemann_unten} object {schneemann_mitte} object {schneemann_oben} } //Arme #declare schneemann_arme = torus {14, 2.5 rotate <105,0,0> translate <0,32.5,-2> texture {pigment { color rgb <1,1,1> } } } //Besen #declare schneemann_besen1 = cylinder { <-7,0,-1>, <-14,53,-4>, 0.75 texture {pigment { color rgb < 0.8, 0.6, 0.5>} } } #declare schneemann_besen2 = sphere { <-14,53,-4>, 0.75 texture { pigment { color rgb < 0.8, 0.6, 0.5> } } } #declare schneemann_besen = union {object {schneemann_besen1} object {schneemann_besen2} } //Hut #declare schneemann_hut1 = cylinder { <0,57,0>, <0,57.2,0>, 11 texture {pigment { color rgb <0,0,0>} } } #declare schneemann_hut2 = cylinder { <0,57,0>, <0,66,0>, 6.6 texture {pigment { color rgb <0,0,0>} } } #declare schneemann_hut = union {object {schneemann_hut2} object {schneemann_hut1} } //Gesicht #declare schneemann_rechtes_auge = sphere { <3,54,-7>, 1 texture { pigment { color rgb <0,0,0> } } } #declare schneemann_linkes_auge = sphere { <-3,54,-7>, 1 texture { pigment { color rgb <0,0,0> } } } #declare schneemann_nase = cone { <0,53,0>, 2.5, <0,49,-12>, 0.3 texture { pigment { color rgb <0.8,0.3,0>} } } //Mund #declare schneemann_mund1 = sphere { <-3,48,-5>, 0.5 texture { pigment { color rgb <0,0,0> } } } #declare schneemann_mund2 = sphere { <-2,47.5,-5>, 0.5 texture { pigment { color rgb <0,0,0> } } } #declare schneemann_mund3 = sphere { <-1,47.25,-5>, 0.5 texture { pigment { color rgb <0,0,0> } } } #declare schneemann_mund4 = sphere { <0,47.125,-5>, 0.5 texture { pigment { color rgb <0,0,0> } } } #declare schneemann_mund5 = sphere { <1,47.25,-5>, 0.5 texture { pigment { color rgb <0,0,0> } } } #declare schneemann_mund6 = sphere { <2,47.5,-5>, 0.5 texture { pigment { color rgb <0,0,0> } } } #declare schneemann_mund7 = sphere { <3,48,-5>, 0.5 texture { pigment { color rgb <0,0,0> } } } #declare schneemann_gesicht = union {object {schneemann_rechtes_auge} object {schneemann_linkes_auge} object {schneemann_nase} object {schneemann_mund1} object {schneemann_mund2} object {schneemann_mund3} object {schneemann_mund4} object {schneemann_mund5} object {schneemann_mund6} object {schneemann_mund7} } #declare schneemann = union {object {schneemann_rumpf} object {schneemann_arme} object {schneemann_besen} object {schneemann_hut} object {schneemann_gesicht} } //geschenk #declare geschenk_box = box {<15,0,10>, <-15,12,-10> texture {pigment {color rgb <0,0.3,0>} } } #declare geschenk_band1 = box {<3,-0.1,10.1>, <-3,12.1,-10.1> texture {pigment {color rgb <0.7,0.7,0.7>} } } #declare geschenk_band2 = box {<15.1,-0.1,2>, <-15.1,12.1,-2> texture {pigment {color rgb <0.7,0.7,0.7>} } } #declare geschenk = union {object {geschenk_box} object {geschenk_band1} object {geschenk_band2} }