POV-Ray : Newsgroups : povray.unofficial.patches : Superpatch built-in functions : Re: Superpatch built-in functions Server Time
2 Sep 2024 14:20:51 EDT (-0400)
  Re: Superpatch built-in functions  
From: Ron Parker
Date: 19 Jul 1999 09:35:37
Message: <379329a9@news.povray.org>
On 19 Jul 1999 05:42:22 -0400, Nieminen Mika wrote:
>David Wilkinson <dav### [at] cwcomnet> wrote:
>:>isosurface {  function { "Sphere" <1> }  pigment { color red 1}}
>
>: Thanks Ron, thats it!  It's the angle brackets wot done it.  I've got too used
>: to the easy going syntax of POV-Ray :-)
>
>  Why there have to be angle brackets? It breaks the ideology of povray that
>you can specify a vector with just a float value.

Not my syntax, so I'm not 100% sure of why, but I suspect it's because that
argument isn't the same kind of vector we're used to.  For one thing, it's 
a vector of functions, not of floats.  For another, I don't think it's 
limited to five or fewer components.  So it doesn't get parsed by the 
same code that parses normal vector arguments.  I expect one could still 
make the angle-brackets optional, but that apparently just wasn't done.


Post a reply to this message

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