Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #include "colors.inc"
- #include "stones.inc"
- #include "textures.inc"
- #include "metals.inc"
- camera {
- location <0, 8, -10>
- look_at 0
- angle 35
- }
- //Lepsze oświetlenie, dłużej się renderuje
- light_source {
- <2, 10, -3>
- color White
- area_light <5, 0, 0>, <0, 0, 5>, 5, 5
- adaptive 1
- jitter
- }
- plane{
- <0,1,0>, -1.5
- pigment { White }
- }
- /*
- Robocze oświetlenie i plan
- light_source { <40, 50, -50> White }
- plane { <0,1,0>, -2
- pigment { checker Red White }
- } */
- union{
- difference{
- cylinder{
- <0, 0.27, 0>,
- <0, 0, 0>,
- 1.00
- }
- cylinder{
- <0, 0.31, 0>,
- <0, -0.1, 0>,
- 0.92
- translate <0,0,0>
- }
- }
- difference{
- cylinder{
- <0, 0.25, 0>,
- <0, 0, 0>,
- 0.92
- texture { T_Gold_1A }
- }
- cylinder{
- <0, 0.31, 0>,
- <0, -0.1, 0>,
- 0.75
- translate <0,0,0>
- }
- }
- difference{
- cylinder{
- <0, 0.28, 0>,
- <0, 0, 0>,
- 0.85
- }
- cylinder{
- <0, 0.31, 0>,
- <0, -0.1, 0>,
- 0.52
- translate <0.24,0,0>
- scale <0,0,1.15>
- }
- cylinder{
- <0, 0.31, 0>,
- <0, -0.1, 0>,
- 0.52
- translate <-0.24,0,0>
- scale <0,0,1.15>
- }
- }
- union{
- cylinder{
- <0,3.35,0>,
- <0,0,0>,
- (0.27/2)
- }
- sphere{
- <0,3.35,0>,(0.27/2)
- }
- torus{
- 0.27/2.3,
- 0.065
- translate <0,0.25,0>
- }
- torus{
- 0.27/2.3,
- 0.065
- translate <0,0.45,0>
- }
- torus{
- 0.27/2.3,
- 0.065
- translate <0,2.25,0>
- }
- union{
- difference{
- box{
- <0,0,0>,
- <0.08,0.63,0.35>
- rotate <0, 90, 0>
- translate <0, 2.45, 0.04>
- //pigment { checker Blue Green }
- }
- box{
- <0,0,0>,
- <0.15,0.7,0.05>
- rotate <0, 90, 0>
- translate <0.2, 2.45, 0.01>
- texture { T_Gold_2A }
- //pigment { color Black }
- }
- }
- difference{
- box{
- <0,0,0>,
- <0.08, 0.63, 0.23>
- rotate <0, 90, 0>
- translate <0.285, 2.45, 0.12>
- //pigment { checker Red White }
- }
- box{
- <0,0,0>,
- <0.1, 0.15, 0.23>
- rotate <0, 90, 0>
- translate <0.435, 2.85, 0.11>
- texture { T_Gold_1A }
- //pigment { color Black }
- }
- box{
- <-1,0,0>,
- <0.1, 0.1, 0.23>
- rotate <0, 90, 0>
- translate <0.4, 2.52, 0.08>
- texture { T_Gold_1A }
- }
- box{
- <-1,0,0>,
- <0.1, 0.1, 0.23>
- rotate <0, 90, 0>
- translate <0.45, 2.69, 0.08>
- texture { T_Gold_1A }
- }
- }
- translate<0,0.05,0>
- }
- //rotate <0,0,0>
- rotate <90,180,0>
- translate <0,0.135,-0.94>
- }
- pigment{ color Gold }
- texture { T_Gold_2A }
- finish {
- ambient .2
- diffuse .3
- specular 2
- roughness .03
- metallic
- reflection {
- .85
- metallic
- }
- }
- rotate <0,-16,-10>
- translate<-.5,-1.25,2.5>
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement