|
![](/i/fill.gif) |
On Wed, 06 Feb 2002 12:54:30 +0000, Michael Andrews <M.C### [at] reading ac uk>
wrote:
> As the code stands it fails parsing at the pigment statement with 'Parse
> Error: Attempt to access an uninitialized array element.'
I can confirm this behaviour, but I think it is somehow connected with arrays.
When you remove array (as below) then it works fine
// -- start ---
#declare f_PT0 = function { abs(sin(x)*sin(y)) }
#declare f_PT1 = function { abs(sin(x)*sin(y)) }
plane { -z, 0
pigment { function { f_PT0(x,y,z) } } // <- parse _not_ fails
finish { ambient 1 diffuse 0 }
}
camera {
location -30*z up y
right x*image_width/image_height
direction 2*z look_at 0
}
// -- end --
POV 3.5 b 10 icl on WinNT Sp 6 PII 233 with 128 MB
ABX
Post a reply to this message
|
![](/i/fill.gif) |