fryc1906

stol

Mar 30th, 2016
571
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include "colors.inc"
  2. #include "textures.inc"
  3. #include "woods.inc"
  4.  background{White}
  5.  camera {
  6.  angle 15
  7.  location <10, 10, -25>
  8.  look_at <3, 1, 0>
  9.  }
  10.  light_source { <20, 20, -20> color White }
  11.  
  12. lathe {
  13. bezier_spline
  14. 20
  15. <1.04545454545455,0.0655737704918033>,<0.96969696969697,0.295081967213115>,<0.666666666666667,0.213114754098361>,<0.0909090909090909,0.213114754098361>
  16. <0.0909090909090909,0.213114754098361>,<0.0909090909090909,0.639344262295082>,<0.0909090909090909,1.59016393442623>,<0.0909090909090909,1.90163934426229>
  17. <0.0909090909090909,1.90163934426229>,<0.318181818181818,1.90163934426229>,<0.833333333333333,1.90163934426229>,<1.74242424242424,1.90163934426229>
  18. <1.74242424242424,1.90163934426229>,<1.74242424242424,1.9344262295082>,<1.74242424242424,2.01639344262295>,<1.74242424242424,2.04918032786885>
  19. <1.74242424242424,2.04918032786885>,<0.787878787878788,2.04918032786885>,<0.272727272727273,2.04918032786885>,<0,2.04918032786885>
  20. pigment { color Red }      
  21. translate<3,0,0>
  22. }      
  23.  
  24. lathe {
  25. bezier_spline
  26. 20
  27. <0,0.0882352941176471>,<0.264705882352941,0.0882352941176471>,<0.794117647058823,0.0882352941176471>,<0.897058823529412,0.0882352941176471>
  28. <0.897058823529412,0.0882352941176471>,<0.985294117647059,0.617647058823529>,<1,1.77941176470588>,<1.20588235294118,2.17647058823529>
  29. <1.20588235294118,2.17647058823529>,<1.17647058823529,2.17647058823529>,<1.11764705882353,2.16176470588235>,<1.05882352941176,2.16176470588235>
  30. <1.05882352941176,2.16176470588235>,<0.985294117647059,1.67647058823529>,<0.838235294117647,0.602941176470588>,<0.794117647058823,0.25>
  31. <0.794117647058823,0.25>,<0.617647058823529,0.25>,<0.220588235294118,0.235294117647059>,<0,0.235294117647059>
  32. texture {Yellow_Glass}
  33. scale 0.15
  34. translate<2,2,0.5>
  35. }  
  36.  
  37.  
  38. lathe {
  39. bezier_spline
  40. 8
  41. <0,0.23>,<0.656716417910448,0.24>,<1.49253731343284,0.19>,<1.35820895522388,0.5>
  42. <1.35820895522388,0.5>,<1.19402985074627,0.16>,<0.223880597014925,0.35>,<0,0.3>
  43. pigment { color White }
  44. scale 0.2  
  45. translate<2,2,0>
  46. }  
  47.  
  48. lathe {
  49. bezier_spline
  50. 8
  51. <0,0.23>,<0.656716417910448,0.24>,<1.49253731343284,0.19>,<1.35820895522388,0.5>
  52. <1.35820895522388,0.5>,<1.19402985074627,0.16>,<0.223880597014925,0.35>,<0,0.3>
  53. pigment { color White }
  54. scale 0.2  
  55. translate<4,2,0>
  56. }
  57. lathe {
  58. bezier_spline
  59. 8
  60. <0,0.23>,<0.656716417910448,0.24>,<1.49253731343284,0.19>,<1.35820895522388,0.5>
  61. <1.35820895522388,0.5>,<1.19402985074627,0.16>,<0.223880597014925,0.35>,<0,0.3>
  62. pigment { color White }
  63. scale 0.2  
  64. translate<3,2,1>
  65. }
  66. lathe {
  67. bezier_spline
  68. 8
  69. <0,0.23>,<0.656716417910448,0.24>,<1.49253731343284,0.19>,<1.35820895522388,0.5>
  70. <1.35820895522388,0.5>,<1.19402985074627,0.16>,<0.223880597014925,0.35>,<0,0.3>
  71. pigment { color White }
  72. scale 0.2  
  73. translate<3,2,-1>
  74. }
  75.  
  76. lathe {
  77. bezier_spline
  78. 12
  79. <0,0>,<0.253731343283582,0>,<0.477611940298507,-0.01>,<0.73134328358209,0.11>
  80. <0.73134328358209,0.11>,<1.26865671641791,0.77>,<1.1044776119403,1.22>,<0.283582089552239,1.54>
  81. <0.283582089552239,1.54>,<0.238805970149254,1.81>,<0.432835820895522,2.05>,<0.895522388059702,2.11>
  82. pigment { color Blue }  
  83. scale 0.2
  84. translate <3,2,0>
  85. }    
  86.  
  87. lathe {
  88. bezier_spline
  89. 12
  90. <0,0>,<0.17910447761194,-0.03>,<0.283582089552239,-0.03>,<0.417910447761194,0.05>
  91. <0.417910447761194,0.05>,<0.567164179104478,0.25>,<0.865671641791045,0.79>,<0.492537313432836,1.08>
  92. <0.492537313432836,1.08>,<0.298507462686567,1.2>,<0.104477611940299,1.49>,<0.626865671641791,1.49>
  93. pigment { color Red }  
  94. scale 0.2
  95. translate <4,2,0>
  96. }
RAW Paste Data