|
|
"TAlphaBravo" <TAl### [at] yahoocom> wrote in message
news:3c58be72$1@news.povray.org...
> How do I get a pigment to work on an isosurface, the normal syntax will
not
> work, I mean c'mon. I gant even get a simple color on it, b/s using
ambient,
> which does no more justice to the curves and angles than does black. I
know
> that this has probly been addressed b4, but I can't find it.
> Thanx for your time.
>
It's easier to diagnose and solve a problem it there is code posted
The code below works (pov 3.5)
#include "functions.inc"
camera { location <0,4,-10> look_at <0,0,0>}
light_source {<-5,5,-20> rgb 1}
light_source {<5,5,10> rgb 1}
isosurface {
function {y-f_noise3d(x*3,0,z*3)}
max_gradient 5
contained_by {box {<-5,-1,-5>,<5,5,5>}}
pigment {
bozo
scale 0.5
color_map {
[0.0 rgb <1,0,0>]
[1.0 rgb <0,0,1>]
}
}
}
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
|
|