POV-Ray : Newsgroups : povray.bugreports : isosurface & function val() : Re: isosurface & function val() Server Time
16 Apr 2024 12:37:47 EDT (-0400)
  Re: isosurface & function val()  
From: Thorsten Froehlich
Date: 8 Jul 2014 11:05:01
Message: <web.53bc077d1c10e5022b7136990@news.povray.org>
"deep125" <dee### [at] yandexru> wrote:
> > Splines have a function-like interface, so IIRC they are fully supported
> > in functions.
>
> Code:
> ----------
>
> #declare MySpline=spline
> {
>     linear_spline
>     1 , <0,0,0>
>     2 , <2,2,2>
>
> }
>
> isosurface {
>       function{
>         MySpline(1).x
>       }
>     contained_by { box { -2, 2 } }
>   }
> -------------------
>
> Error
>
> Parse Error: Expected 'operand', spline identifier found instead
>
> How to attach a spline?

How about reading the documentation?

http://www.povray.org/documentation/view/3.6.1/231/


Post a reply to this message

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