POV-Ray : Newsgroups : povray.unofficial.patches : Help w/ syntax on library functions in isosurfaces. : Re: Help w/ syntax on library functions in isosurfaces. Server Time
2 Sep 2024 10:15:27 EDT (-0400)
  Re: Help w/ syntax on library functions in isosurfaces.  
From: Greg M  Johnson
Date: 15 Feb 2000 07:18:32
Message: <38A94338.B4D3488C@my-dejanews.com>
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] povrayorg (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] cwcomnet
> http://www.hamiltonite.mcmail.com
> ----------------------------


Post a reply to this message

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