|
|
Micke wrote:
> All works untill I add the texture line, then this error:No matching } in
> object',: found instead. What am I doing wrong,please.
It looks like you accidentally inserted the texture
within the expression -x*12*Count. Such things are easier
to spot if you use more consistent spacings and indents:
#declare Rand = seed(1);
#declare Count = 0;
#while (Count <10)
object
{
My_Column
translate -12*Count*x
texture {My_Marble rotate <rand(Rand),rand(Rand),rand(Rand)>}
rotate -100*y
}
#declare Count=Count+1;
#end
Note that it can also be relevant when to apply the
texture with respect to transformations.
Post a reply to this message
|
|