rootuss

pokoj Milosz

Jun 8th, 2017 (edited)
462
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #include  "colors.inc"  
  2. #include  "woods.inc"  
  3. #include  "textures.inc"      
  4.  
  5.  
  6. camera    {
  7. location  <-4,3,0>
  8. look_at <-7,1,10>
  9. }
  10.  
  11.  
  12. light_source {
  13. <-5,3,5>   *1
  14. White
  15. }  
  16. light_source {
  17. <-2,3,-9>
  18. White     *0.7
  19. }  
  20. light_source {
  21. <-5.,2,-2>
  22. White     *0.2
  23. }
  24.  
  25.  
  26. plane {
  27. y,0
  28. texture {T_Wood15}
  29. }  
  30. plane {
  31. x,-10
  32. pigment {color LightBlue}
  33. }  
  34. plane {
  35. z,10
  36. pigment {color LightBlue}
  37. }    
  38. plane {
  39. y,5
  40. pigment {color LightBlue}
  41. }
  42.  
  43. plane {
  44. x,-1.3
  45. pigment {color LightBlue}
  46. }        
  47.  
  48.  
  49.  
  50. # declare regal =
  51. union
  52. {
  53. box {
  54. <-3,0,1.75>
  55. <0,3,1.5>
  56. pigment {DMFWood5}
  57.  
  58. }
  59. box {
  60. <0,0,1.5>
  61. <0,3,1.3>
  62. pigment {DMFWood5}
  63. }
  64. box {
  65. <-3,0,1.5>
  66. <-3,3,1.3>
  67. pigment {DMFWood5}
  68. }    
  69. box {
  70. <-3,3,1.5>
  71. <0,3.1,1.3>
  72. pigment {DMFWood5}
  73. }
  74.  box {
  75. <-3,2.5,1.5>
  76. <0,2.6,1.3>
  77. pigment {DMFWood5}
  78. }
  79. box {
  80. <-3,2,1.5>
  81. <0,2.1,1.3>
  82. pigment {DMFWood5}
  83. }      
  84. box {
  85. <-3,1.5,1.5>
  86. <0,1.6,1.3>
  87. pigment {DMFWood5}
  88. }          
  89. box {
  90. <-3,1,1.5>
  91. <0,1.1,1.3>
  92. pigment {DMFWood5}
  93. }
  94.        
  95. box {
  96. <-3,0.5,1.5>
  97. <0,0.6,1.3>
  98. pigment {DMFWood5}
  99. }}
  100.  
  101.  
  102.  
  103.  
  104. # declare lampka12 =
  105. union
  106. {
  107. cone{
  108. <0,3,-5.5> 0.48
  109. <0,4,-5.5> 0.21  
  110. open
  111. texture {Silver_Metal}
  112. }  
  113. cone{
  114. <0,3,-5.5> 0.05
  115. <0,0,-5.5> 0.05  
  116. open
  117. texture {Silver_Metal}  
  118. }
  119.  
  120. cylinder
  121. {
  122. <0,0,-5.5>
  123. <0,1.134,-5.5>, 0.5
  124. texture {Silver_Metal}                        
  125. }
  126. }
  127.  
  128.  
  129.  
  130. # declare kanapa =
  131.  
  132. difference {  
  133.  
  134. box {
  135. <5,-1,-5.8>
  136. <3,2.3,-3>
  137. pigment {White_Marble}
  138. }
  139. box {
  140. <4.6,1.8,-5.5 >
  141. <-4.6,2.4,-3.3>
  142. pigment {White_Marble}
  143. }
  144. }
  145.  
  146.  
  147.  
  148. # declare dywan =
  149.  union
  150. {
  151. cylinder
  152. {
  153. <-8,0,5.5>,
  154. <-8,0.00023,5.5>, 1.2
  155. pigment { Blue_Agate}          
  156. }
  157. }
  158.    
  159.  
  160.  
  161. # declare lozko =
  162.  union
  163. {
  164. box {
  165. <-9.8,0,9>
  166. <-7,0.5,5>
  167. pigment {White_Marble}
  168. }
  169. box {
  170. <-9.8,0.5,9>
  171. <-7,0.51,5>
  172. pigment {color Violet}
  173. }
  174. box {
  175. <-9.7,0.51,7>
  176. <-7.1,0.5623,5.1>
  177. pigment {color BlueViolet}
  178. }
  179. box {
  180. <-9.5,0.51,8.9>
  181. <-7.3,0.5923,8>
  182. pigment {color Plum}
  183. }
  184. }
  185.  
  186.  
  187.  
  188.  
  189. box{
  190. <-10,1.7,5.1>
  191. <-9.99,3.7,9>
  192. pigment {Blue_Sky}
  193. }    
  194.  
  195. box{
  196. <-9,1.7,10>
  197. <-5,3.7,9.99>
  198. pigment {Blue_Sky}
  199. }
  200.  
  201.    
  202.    
  203.    
  204. # declare stol =
  205. union
  206. {
  207. cylinder
  208. {
  209. <-7,1.4,3>, <-7,1.5,3>, 0.9
  210. texture { PinkAlabaster}
  211. }
  212. cylinder
  213. {
  214. <-7,0,3>, <-7,1.5,3>, 0.07
  215. texture {Silver_Metal}                          
  216. }    
  217.  
  218. cylinder
  219. {
  220. <-7,0,3>,
  221. <-7,0.05,3>, 0.5
  222. texture {Silver_Metal}                        
  223. }
  224. }
  225.  
  226.  
  227.  
  228.  
  229. object {stol  scale 0.82 translate <-2.2,0,1.4>}    
  230. object {regal scale 0.8 translate <-2,0,8.2> }
  231. object {lampka12  scale 0.9 translate <-5.5,-1,13.6>}        
  232. object {kanapa  scale 0.9 translate <-6.5,-1,11>}        
  233. object {dywan scale 1 translate <2.7,0,0> }  
  234. object {lozko}
RAW Paste Data