POV-Ray : Newsgroups : povray.bugreports : isosurface & function val() : Re: isosurface & function val() Server Time
13 Jul 2024 09:38:34 EDT (-0400)
  Re: isosurface & function val()  
From: deep125
Date: 8 Jul 2014 10:55:00
Message: <web.53bc052a1c10e50227687edf0@news.povray.org>
> 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?


Post a reply to this message

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