|
![](/i/fill.gif) |
Thanks for the info, but the docs for sup 3.1e are not complete.
I have mega on another PC and had not looked there, though......
David Wilkinson wrote:
> On 14 Feb 2000 16:55:33 -0500, ron### [at] povray org (Ron Parker) wrote:
>
> >On Mon, 14 Feb 2000 15:24:56 -0500, Greg M. Johnson wrote:
> >>> The docs for superpatch do not give any syntax at all on how to use
> >>> the named functions as functions in isosurfaces.
>
> >
> >In case you can't look it up (but you should, because it's a useful
> >thread) here's the syntax that works for me for the sphere function:
> >
> >isosurface { function { "Sphere" <1> } pigment { color red 1}}
> >
>
> You just beat me to the punch Ron :-)
>
> The docs for MegaPov give the correct syntax for the named isosurface functions, but
> MegaPov also requires
> contained_by {}
> in the isosurface definition.
>
> e.g.
>
> isosurface { function { "rounded_box" <.2> }
> contained_by { }
> pigment { Red}
> }
>
> In testing this with MegaPov I found a bug has been added since SuperPatch.
> The size of the rounded box is determined by the size of contained_by !
> With no value for contained_by you get a rounded box of unit sides. But;
> contained_by { box {0,4}}
> makes the rounded box of sides 4!
>
> Ah well, it just goes to keep us on our toes :-)
> ----------------------------
> dav### [at] cwcom net
> http://www.hamiltonite.mcmail.com
> ----------------------------
Post a reply to this message
|
![](/i/fill.gif) |