#include "textures.inc"
#include "shapes.inc"
#include "shapes2.inc"
#include "functions.inc"
global_settings { ambient_light }// camera ---------------------------------
camera {location <0.0 , 1.0 ,-3.0>
look_at <0.0 , 1.0 , 0.0>}
// sun ------------------------------------
light_source{<1500,2500,-2500> color White}
// sky -----------------------------------
sky_sphere { pigment {gradient <0,1,0>
color_map { [0.00 rgb <0.2,0.7,1.0>]
[0.45 rgb <0.0,0.1,0.7>] [0.55 rgb <0.0,0.1,0.7>]
[1.00 rgb <0.6,0.7,1.0>] scale 2
} // end of pigment} //end of skysphere
// create a sphere shape
sphere {<0, 0.5, 0> // center of sphere
0.5// radius of sphere// scale <1,2,1> pigment {Black}}
// used in global_settings, sets an overall brightness/ambient light level in the scene ambient_light color rgb <1,1,1>
// create a rainbow arc
rainbow {angle 45// degrees width 6// degrees distance 1000direction <0,-0.5,1>jitter 0.01arc_angle 180//degrees falloff_angle 60 // degrees
// up
[0.100 color rgbf <1.0, 0.5, 1.0, 0.8> ]
[0.214 color rgbf <0.5, 0.5, 1.0, 0.8> ]
[0.328 color rgbf <0.2, 0.2, 1.0, 0.8> ]
[0.442 color rgbf <0.2, 1.0, 1.0, 0.8> ]
[0.556 color rgbf <0.2, 1.0, 0.2, 0.8> ]
[0.670 color rgbf <1.0, 1.0, 0.2, 0.8> ]
[0.784 color rgbf <1.0, 0.5, 0.2, 0.8> ]
[0.900 color rgbf <1.0, 0.2, 0.2, 0.8> ]
}
}sphere{<0, 3, 0>, .1texture {pigment{color Black}}
translate 5.6*y translate 1*-z rotate 25*y}
cylinder {<0, 0.5, 0.1>,<0, 1.3, 0>,.40}
//ground{<0,1,0>,plane {y, 0texture {pigment { color Green }}
normal {bumps 1 scale 1}finish {phong .4}} fog {
fog_type2distance5color rgb 0.6 // grayfog_offset 0.3fog_alt0.2
turbulence 0.8}#include "skies.inc"sky_sphere { S_Cloud5 }
No comments:
Post a Comment