|
![](/i/fill.gif) |
"hughes b" <omn### [at] charter net> wrote in message
news:3d765a51@news.povray.org...
> As to that texture... intriguing how it appears as multiple patterns from
> one texture "function". When I guess at how you did it I get a recursive
> error. Are you going to let us in on the secret of how FN is defined?
FN of the first image is a density_file function.
It is the same function as DATA3D2(x,y,z) in the below page.
http://staff.aist.go.jp/r-suzuki/e/povray/iso/df_body.htm
FN of the second image is as following.
#declare FNi= function{pigment {
image_pattern {
jpeg "pov-ray2.jpg" interpolate 2
}
color_map{ [0 color 0] [1 color 1] }
}}
#declare FN=function{FNi(-atan2(x,z)/pi*3,y/5,0).gray*0.85}
R. Suzuki
Post a reply to this message
|
![](/i/fill.gif) |