|
![](/i/fill.gif) |
Mike Williams <nos### [at] econym demon co uk> wrote:
> Wasn't it nevered who wrote:
> >here's what i'm trying to do:
> >
> > blob {
> > threshold .5
> > difference{
> > sphere {
> > <0, 0, 0>, 1, 1
> > scale <12, 10, 1>
> > translate<0,0,.5>
> > }
> > cylinder {
> > <9,0,-20>, <9,0,20>, 10, 1
> > scale <1.7,.8,0>
> > }
> > }
> > cone{
> > <-2,0,.7>, .6, <5,0,-1.3>, .5, 1
> > scale<0,5,.8>
> > texture{pigment{color Yellow}}
> > }
>
> Blob doesn't accept the keywords "difference" or "cone".
>
> You can achieve the effect of "difference" by using negative blob
> strengths, but you can't blob a cone.
>
> union {
> blob {
> threshold .5
> sphere {
> <0, 0, 0>, 1, 1
> scale <12, 10, 1>
> translate<0,0,.5>
> }
> cylinder {
> <9,0,-20>, <9,0,20>, 10, -6
> scale <1.7,.8,0>
> }
> }
> cone{
> <-2,0,.7>, .6, <5,0,-1.3>, .5
> scale<0,5,.8> }
> texture{pigment{color Yellow}}
> }
> --
> Mike Williams
> Gentleman of Leisure
Thanks!
I had no idea you could use negative strengths.
I'll see what i can do about using a cylinder in place of the cone, since
the difference between the ends is only .1 anyway, and it has to blob to
another flattened sphere at the other end anyway
Post a reply to this message
|
![](/i/fill.gif) |