|
![](/i/fill.gif) |
On Wed, 28 Jan 2004 16:39:22 +0200, Mikael Pohjola <emp### [at] cc hut fi> wrote:
> I tried to use a component from a vector and pass it to a function in an
> isosurface, and the parser returned an error. Se minimal scene below. The
> parser seems to confuse the notations k.u (component of a vector) and x
> (variable for the isosurface). Is this a "feature" or a bug? Or have I
> misunderstood something?
Feature. Functions syntax has separated syntax description in manual.
> isosurface {
> function {y-Function(k.v*x, k.u*z)}
> }
You have to workaround it with additional float variables.
function {
#local kv = k.v;
#local ku = k.u;
y-Function(kv*x, ku*z)
}
ABX
Post a reply to this message
|
![](/i/fill.gif) |