|
|
"Josh" <som### [at] microsoftcom> wrote in message news:41178802@news.povray.org...
> Can anyone point me at a bit of pov code to produce a good pattern of stars.
>
> I've got an architectual image and want a nighttime sky in the background.
>
> Unfortunately the "stars.inc" file gives my way too many stars.
>
> I've tried using an image_map but the result was unsatisfactory.
>
> I'm trying to paste the texture onto the interior of a sphere.
try this:
sky_sphere {
pigment {
crackle form <1,1,0>
color_map {
[.4 rgb 10]
[.5 rgb 0]
}
scale .002
}
}
And if necessary, adjust the scale a bit...
cu!
--
camera{location-z*3}#macro G(b,e)b+(e-b)*(C/50)#end#macro L(b,e,k,l)#local C=0
;#while(C<50)sphere{G(b,e),.1pigment{rgb G(k,l)}finish{ambient 1}}#local C=C+1
;#end#end L(y-x,y,x,x+y)L(y,-x-y,x+y,y)L(-x-y,-y,y,y+z)L(-y,y,y+z,x+y)L(0,x+y,
<.5,1,.5>,x)L(0,x-y,<.5,1,.5>,x) // ZK http://www.povplace.be.tf
Post a reply to this message
|
|