POV-Ray : Newsgroups : povray.binaries.images : Spline trunk : Re: Spline trunk (jpg 24,4Kbbu) Server Time
14 Aug 2024 13:18:42 EDT (-0400)
  Re: Spline trunk (jpg 24,4Kbbu)  
From: Gena Obukhov
Date: 7 Oct 2002 11:27:56
Message: <3DA1A6DE.36479FF9@mail.com>
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

Copyright 2003-2023 Persistence of Vision Raytracer Pty. Ltd.