|
|
Great! Thanks a lot!
Gena.
Marc-Hendrik Bremer wrote:
> "Gena Obukhov" <obu### [at] mailcom> schrieb im Newsbeitrag
> news:3DA10D20.A10F06A6@mail.com...
> > Unfortunately, the bark doesn't follow the spline.
>
> That's why I said you should declare your isosurface function first :-) How
> about the if you displace the bark function too, you will get better
> results.
>
> How about this?
>
> #declare Trunk_Fun= function {pow(y ,2) + pow(z , 2) - 0.07 +
> F1(x,y,z).grey*0.025}
>
> #declare Trunk1 = isosurface {
> function {Trunk_Fun(x,y- S(x).y, z- S(x).z)}
> max_gradient 5
> contained_by{box{<0, -0.2, -1>, <0.8, 2, 1>}}
> pigment{Bark1}
> finish {ambient 0.2 phong 0}
>
> rotate -x*90
> scale<4, 1, 1>
> rotate z*90
> }
>
> [Image]
Post a reply to this message
|
|