planet2.pov


#include "colors.inc" #include "textures.inc" #include "shapes.inc" #include "atmos.inc" #include "stones.inc" #include "consts.inc" #declare Rings = texture { pigment { color rgbf <1,1,1,.5> } finish { crand 0.2 phong 0.3 } } #declare Clouds1 = pigment { bozo turbulence 1 color_map { [0.0 color White filter 1] [0.5 color White] [1.0 color White filter 1] } } #declare Clouds2 = pigment { agate turbulence 1 color_map { [0.0 color White filter 1] [0.5 color White] [1.0 color White filter 1] } } #declare Clouds3 = pigment { marble turbulence 1 color_map { [0.0 color White filter 1] [0.5 color White] [1.0 color White filter 1] } } #declare Clouds4 = pigment { granite turbulence 1 color_map { [0.0 color White filter 1] [0.5 color White] [1.0 color White filter 1] } } #declare CloudArea = texture { pigment { gradient y pigment_map { [0.00 Clouds1] [0.25 Clouds2] [0.50 Clouds3] [0.75 Clouds4] [1.00 Clouds1] } } } // CAMERA POSITION camera { up < 0, 1, 0 > direction < 0, 0, 1 > location < 0, .25, -5.5 > look_at < 0, 0, 0 > } // LIGHT _light1 light_source { < 1000, 1000, -1000 > color rgb <.9,.9,1.0> } // HEIGHTFIELD _heightfield0 union { object { height_field { tga "Fract002.tga" smooth } translate < -0.5, -0.5, -0.5 > texture { T_Grnt20 } scale < 17, 2.5, 17 > translate < -0.5, -0.5, -0.5 > } object { plane { <0,1,0> 0 } translate <0,-0.7,0> texture { pigment { color SteelBlue } normal { ripples 1 frequency 10 scale 2 } /* normal { waves 1 frequency 5 turbulence 0.2 } */ finish { reflection .25 phong .75 } } clipped_by { box { <-5000,-10,-10> <5000,200,50> } } } } fog { distance .35 color rgb <0.9,0.9,1.0> fog_type Ground_Fog fog_offset -.71 fog_alt .075 } // Here is the planet with rings union { object { sphere { <0,0,0> 300 } texture { pigment { bozo color_map { [ 0.1 color rgb <0.6, 0.5, 0> ] [ 0.15 color rgb <0.3, 0.5, 0> ] [ 0.2 color rgb <0.1, 0.75, 0.3> ] [ 0.25 color rgb <0, 0.2, 1> ] [ 0.3 color rgb <0.1, 0.75, 0.3> ] [ 0.4 color rgb <0.1, 0.75, 0.3> ] [ 0.6 color rgb <0, 0.2, 1> ] [ 0.8 color rgb <0, 0.2, 1> ] [ 1.0 color rgb <0, 0, 1> ] } scale 120 turbulence 1 } } } object { sphere { <0,0,0> 305 } texture { CloudArea scale 200 } } object { difference { cylinder { <0,-2,0>, <0,2,0>, 600 texture { Rings } } cylinder { <0,-3,0>, <0,3,0>, 515 texture { Rings } } } } object { difference { cylinder { <0,-2,0>, <0,2,0>, 500 texture { Rings } } cylinder { <0,-3,0>, <0,3,0>, 470 texture { Rings } } } } object { difference { cylinder { <0,-2,0>, <0,2,0>, 465 texture { Rings } } cylinder { <0,-3,0>, <0,3,0>, 450 texture { Rings } } } } object { difference { cylinder { <0,-2,0>, <0,2,0>, 440 texture { Rings } } cylinder { <0,-3,0>, <0,3,0>, 400 texture { Rings } } } } rotate <-30,0,30> translate <0,150,1500> } // End Planet UNION background { color Black }