#version 3.7; #include "shapes.inc" #include "functions.inc" global_settings { } sky_sphere { pigment {rgb<0.050, 0.050, 0.050>} } #declare Default_texture = texture{pigment {rgb 0.8}} #include "meshmaker.inc" #declare Loft1=spline { cubic_spline -0.166667, <0.000005,-0.000009,-1.000000> 0.000000, <0.000010,0.000000,-1.000000> 0.166667, <0.000005,0.000009,-1.000000> 0.333333, <-0.000005,0.000009,-1.000000> 0.500000, <-0.000010,0.000000,-1.000000> 0.666667, <-0.000005,-0.000009,-1.000000> 0.833333, <0.000005,-0.000009,-1.000000> 1.000000, <0.000010,0.000000,-1.000000> 1.166667, <0.000005,0.000009,-1.000000> } #declare Loft2=spline { cubic_spline -0.166667, <0.250005,-0.433021,-1.000000> 0.000000, <0.500010,0.000000,-1.000000> 0.166667, <0.250005,0.433021,-1.000000> 0.333333, <-0.250005,0.433021,-1.000000> 0.500000, <-0.500010,0.000000,-1.000000> 0.666667, <-0.250005,-0.433021,-1.000000> 0.833333, <0.250005,-0.433021,-1.000000> 1.000000, <0.500010,0.000000,-1.000000> 1.166667, <0.250005,0.433021,-1.000000> } #declare Loft3=spline { cubic_spline -0.166667, <0.500005,-0.866034,-1.000000> 0.000000, <1.000010,0.000000,-1.000000> 0.166667, <0.500005,0.866034,-1.000000> 0.333333, <-0.500005,0.866034,-1.000000> 0.500000, <-1.000010,0.000000,-1.000000> 0.666667, <-0.500005,-0.866034,-1.000000> 0.833333, <0.500005,-0.866034,-1.000000> 1.000000, <1.000010,0.000000,-1.000000> 1.166667, <0.500005,0.866034,-1.000000> } #declare Loft4=spline { cubic_spline -0.166667, <0.500000,-0.866025,0.000000> 0.000000, <1.000000,0.000000,0.000000> 0.166667, <0.500000,0.866025,0.000000> 0.333333, <-0.500000,0.866025,0.000000> 0.500000, <-1.000000,0.000000,0.000000> 0.666667, <-0.500000,-0.866025,0.000000> 0.833333, <0.500000,-0.866025,0.000000> 1.000000, <1.000000,0.000000,0.000000> 1.166667, <0.500000,0.866025,0.000000> } #declare Loft5=spline { cubic_spline -0.166667, <0.500000,-0.866025,1.000000> 0.000000, <1.000000,0.000000,1.000000> 0.166667, <0.500000,0.866025,1.000000> 0.333333, <-0.500000,0.866025,1.000000> 0.500000, <-1.000000,0.000000,1.000000> 0.666667, <-0.500000,-0.866025,1.000000> 0.833333, <0.500000,-0.866025,1.000000> 1.000000, <1.000000,0.000000,1.000000> 1.166667, <0.500000,0.866025,1.000000> } #declare Loft6=spline { cubic_spline -0.166667, <0.485000,-0.840045,1.000000> 0.000000, <0.970000,0.000000,1.000000> 0.166667, <0.485000,0.840045,1.000000> 0.333333, <-0.485000,0.840045,1.000000> 0.500000, <-0.970000,0.000000,1.000000> 0.666667, <-0.485000,-0.840045,1.000000> 0.833333, <0.485000,-0.840045,1.000000> 1.000000, <0.970000,0.000000,1.000000> 1.166667, <0.485000,0.840045,1.000000> } #declare Loft7=spline { cubic_spline -0.166667, <0.485000,-0.840045,0.000000> 0.000000, <0.970000,0.000000,0.000000> 0.166667, <0.485000,0.840045,0.000000> 0.333333, <-0.485000,0.840045,0.000000> 0.500000, <-0.970000,0.000000,0.000000> 0.666667, <-0.485000,-0.840045,0.000000> 0.833333, <0.485000,-0.840045,0.000000> 1.000000, <0.970000,0.000000,0.000000> 1.166667, <0.485000,0.840045,0.000000> } #declare Loft8=spline { cubic_spline -0.166667, <0.485000,-0.840045,-0.970000> 0.000000, <0.970000,0.000000,-0.970000> 0.166667, <0.485000,0.840045,-0.970000> 0.333333, <-0.485000,0.840045,-0.970000> 0.500000, <-0.970000,0.000000,-0.970000> 0.666667, <-0.485000,-0.840045,-0.970000> 0.833333, <0.485000,-0.840045,-0.970000> 1.000000, <0.970000,0.000000,-0.970000> 1.166667, <0.485000,0.840045,-0.970000> } #declare Loft9=spline { cubic_spline -0.166667, <0.242502,-0.420027,-0.970000> 0.000000, <0.485005,0.000000,-0.970000> 0.166667, <0.242502,0.420027,-0.970000> 0.333333, <-0.242502,0.420027,-0.970000> 0.500000, <-0.485005,0.000000,-0.970000> 0.666667, <-0.242502,-0.420027,-0.970000> 0.833333, <0.242502,-0.420027,-0.970000> 1.000000, <0.485005,0.000000,-0.970000> 1.166667, <0.242502,0.420027,-0.970000> } #declare Loft10=spline { cubic_spline -0.166667, <0.000005,-0.000009,-0.970000> 0.000000, <0.000010,0.000000,-0.970000> 0.166667, <0.000005,0.000009,-0.970000> 0.333333, <-0.000005,0.000009,-0.970000> 0.500000, <-0.000010,0.000000,-0.970000> 0.666667, <-0.000005,-0.000009,-0.970000> 0.833333, <0.000005,-0.000009,-0.970000> 1.000000, <0.000010,0.000000,-0.970000> 1.166667, <0.000005,0.000009,-0.970000> } #declare Loft = array[13]{ spline{Loft10}, spline{Loft1}, spline{Loft2}, spline{Loft3}, spline{Loft4}, spline{Loft5}, spline{Loft6}, spline{Loft7}, spline{Loft8}, spline{Loft9}, spline{Loft10}, spline{Loft1}, spline{Loft2} } #declare data_Loft_ob = object {MSM(Loft,100,"c",100,"") texture {Default_texture} } object {data_Loft_ob matrix <1.000000, 0.000000, 0.000000, 0.000000, -0.000000, -1.000000, 0.000000, 1.000000, -0.000000, 0.000000, 0.000000, 0.000000> } light_source { <5.07,5.58,4.28> color rgb<1, 1, 1> fade_distance 25.0000000000 fade_power 1 } camera { perspective location <0,0,0> look_at <0,0,-1> right <-1.7777777777777777, 0, 0> up <0, 1, 0> angle 49.134343 rotate <-27.098163, 46.688390, -0.903519> translate <7.481132, 5.343666, 6.507640> }