CoucouHibou <wai### [at] yahoo fr> wrote:
> Does anyone know any simple means to go round this problem?
Currently user-defined functions do not support arrays. I don't think
there's any way around this limitation.
> Otherwise, I read some things about the 'density_file' and df3 files. It seems
> like that kind of stuff could work for my interpolation, but also that it can
> only be used in the scattering media. Is it possible to generate a function
> from that?
You can create a pattern from a df3 file, and consequently you can create
a pattern function from one. You can then call this pattern function with
spatial coordinates and it will return the value of the df3 at those
coordinates (interpolated).
--
- Warp
Post a reply to this message
|