|
![](/i/fill.gif) |
file://light source with a tiny sphere around it with the desired pattern
applied?
#version unofficial MegaPov 0.4;
#include "colors.inc"
global_settings
{
assumed_gamma 1.0
max_trace_level 15
}
// ----------------------------------------
#declare Image_Length = 640;
#declare Image_Height = 480;
camera
{
location <0.0, 0.0, -25.0>
direction 1.5*z
right Image_Length/Image_Height*x
look_at <0.0, 0.0, 0.0>
}
sky_sphere
{
pigment
{
gradient y turbulence .3 lambda 3
color_map { [0.0 color rgb <0,.45,.65>] [1.0 color rgb 1] }
}
}
light_source{<10, 10,-10> color rgb 2 }
// ----------------------------------------
plane{y,-1 pigment{White}}
sphere{<10, 10,-10>,.0001
texture{
pigment {
crackle file://turbulence .5
color_map {
[ 0.000 rgbf<0,1,0,1> ]
[ 0.25 rgbf <0,0,1,1> ]
[ 1.5 rgbf<1,0,0,1> ]
[ 0.75 rgbf <0,0,1,1> ]
[ 1.000 rgbf<0,1,0,1> ]
} // color_map
scale .00005
} // pigment
}//texture
}//sphere
sphere{0,5 pigment{rgbt<1,1,1,.75>}finish{specular 1 roughness .5}}
cylinder{y*-1,y*6,1 pigment{White}translate<-5,0,-5>}
--
*************************************************************
http://www.minda.swinternet.co.uk/index.htm
*************************************************************
Post a reply to this message
|
![](/i/fill.gif) |