|
![](/i/fill.gif) |
On Mon, 11 Dec 2000 07:31:21 +0100, Rob Verweij
<rg.### [at] worldonline nl> wrote:
>I have some difficulties on deciding what the best way of "modeling" is for
>the segments. Texturing them is easy but "modeling" them isn't (well at least
>for me it isn't). I thought I could do it by using a gradient bump map but
I've tested my function posted in p.a-u and it works ok. I Threw in
some variable names just so you know what to tweak. The
R*(.995-y*.005) part is used to make the straw thinner at the top.
$R=3;
$Segment_curve=2;
$Segment_length=5;
isosurface {
function {
sqrt(Segment_curve*cos(y/Segment_length))+x^2+z^2-R*(.995-y*.005)}
accuracy 0.001
contained_by{box{-<R,50,R>,<R,50,R>}}
pigment {rgb .9} finish {phong 0.5 phong_size 10}
}
sig
--
ICQ 74734588
Post a reply to this message
|
![](/i/fill.gif) |