|
![](/i/fill.gif) |
Yes Mike, Ok, now that's right.
=====================================
isosurface {
function { f_helix1 (x, y, z, 2, 3, 4, 5, 0.1, 1, 25) }
max_gradient 6
contained_by {sphere {0, 1.2} }
pigment {rgb .9}
}
=====================================
Thank you very much,
Oleguer
news:1Dqe$HAo1EfBFwh0@econym.demon.co.uk...
> Wasn't it Oleguer Vilella who wrote:
> >Why it doesn't work?
> >
> >===================================
> >#include "functions.inc"
> >#include "colors.inc"
> >
> >camera {
> > location <7, 25, -20>
> > look_at <5, 3.0, 0.0> }
> >
> >light_source { <-100,200,-100> colour rgb 1 }
> >background { White }
> >
> >isosurface {
> >function { f_helix1 (1, 1, 1, 2, 3, 4, 5, 0.1, 1, 25) }
> > max_gradient 1.5
> > contained_by {sphere {0, 1.2} }
> > pigment {rgb .9}
> >}
> >==================================
>
> The main reason is that you're only evaluating a single point of the
> function. You should say "f_helix1 (x,y,z..." not "f_helix1 (1,1,1..."
>
> You'll also need to increase your max_gradient to about 6.
>
> --
> Mike Williams
> Gentleman of Leisure
Post a reply to this message
|
![](/i/fill.gif) |