|
![](/i/fill.gif) |
"Thomas Willhalm" <tho### [at] uni-konstanz de> wrote in message
news:3dae744f@news.povray.org...
>
> Interesting images. How did you distribute the hairs and determine the
> normal of the surface? With the trace function?
The macro takes a outer radius and an inner radius as parameters. A random
point is chosen on each. trace is used from the chosen point on the outer
sphere to
the chosen point on the inner sphere to determine the intersection point and
normal.
Gail
--
#macro G(H,S)disc{0z.4pigment{onion color_map{[0rgb<sin(H/pi)cos(S/pi)*(H<6)
cos(S/pi)*(H>6)>*18][.4rgb 0]}}translate<H-5S-3,9>}#end G(3,5)G(2,5.5)G(1,5)
G(.6,4)G(.5,3)G(.6,2)G(1,1)G(2,.5)G(3,.7)G(3.2,1.6)G(3.1,2.5)G(2.2,2.5)G(9,5
)G(8,5.5)G(7,5)G(7,4)G(7.7,3.3)G(8.3,2.7)G(9,2)G(9,1)G(8,.5)G(7,1)///GS
Post a reply to this message
|
![](/i/fill.gif) |