|
|
Wlodzimierz ABX Skiba wrote in message <3a54ae0b@news.povray.org>...
>#macro Outline( Object , Outside , Outline, Inside , Z , N , B , W )
changing sources in news reader is not the best method :-(
here is proper version:
#macro Pigment_Outline( Object , Outside , Outline, Inside , Z , N , B , W )
#local F1=function{pigment{proximity{Object,1 samples N sample_bailout B
max_density W*0.51 type 1 method 3 sides 2}}}
#local F2=function{pigment{object{Object color 0 color 1}}}
#local F3=function{if(F1(x,y,z)-(W/2),if(F2(x,y,z)-0.5,1,0),0.5)}
pigment{ function{ F3(x,y,Z) } color_map {[0 Outside][0.5 Outline][1
Inside]} }
#end
ABX
Post a reply to this message
|
|