|
|
> #declare Pig = function { pigment { wrinkles color_map { [0 rgb 1][1 rgb
> 0] } } }
> #declare Pq =
> isosurface {
> function { y + 0.22 + 0.05*Pig(10*x,10*y,10*z) }
> threshold 0.5
> bounded_by { box { <-0.9, 0, -0.9>, <0.9, 0.5, 0.9> } }
> scale <1, 0.5, 1>
> translate 0.1*y
> }
>
> And the corresponding message error :
>
> isosurface {
> function { y + 0.22 + 0.05*Pig(10*x,10*y,10*z) } <----ERROR
> Parse Error: Expected '.', } found instead
from 6.7.11.15.1:
When using the identifier, you have to specify which component of the color
vector should be used. To do this, the dot notation is used:
Function(x,y,z).red
Post a reply to this message
|
|