#version 3.7; #include "colors.inc" global_settings { assumed_gamma 2.2 } camera { orthographic right 1.78*x up <0, 7, 0> right <7, 0, 0> location <3.5, 4, -100> look_at <3.5, 4, 0> } /* set the control points to be used */ #declare Red_Point = <2.00, 1.00>; #declare Orange_Point = <1.00, 1.50>; #declare Green_Point = <3.00, 3.50>; #declare Blue_Point = <2.00, 4.00>; #declare Green_Point2 = <1.00, 4.50>; #declare Orange_Point2= <1.00, 6.50>; #declare Red_Point2 = <2.00, 7.00>; /* make the control points visible */ cylinder { Red_Point, Red_Point - <0,0,20>, .1 pigment { Red } finish { ambient 1 } } cylinder { Orange_Point, Orange_Point - <0,0,20>, .1 pigment { Orange } finish { ambient 1 } } cylinder { Green_Point, Green_Point - <0,0,20>, .1 pigment { Green } finish { ambient 1 } } cylinder { Blue_Point, Blue_Point- <0,0,20>, .1 pigment { Blue } finish { ambient 1 } } cylinder { Green_Point2, Green_Point2 - <0,0,20>, .1 pigment { Green } finish { ambient 1 } } cylinder { Orange_Point2, Orange_Point2 - <0,0,20>, .1 pigment { Orange } finish { ambient 1 } } cylinder { Red_Point2, Red_Point2 - <0,0,20>, .1 pigment { Red } finish { ambient 1 } } /* something to make the curve show up */ lathe { bezier_spline 8, Red_Point, Orange_Point, Green_Point, Blue_Point Blue_Point, Green_Point2, Orange_Point2, Red_Point2 pigment { White } finish { ambient 1 } }