|
|
That is the hard way. :-)
Try something like this:
#declare kolCntr = 0;
#macro KOL()
union {
cylinder { <0, 0, 0>,<0, 5.47, 0>, 29.79 texture{ myTexA } }
object { OBJECTA texture{ myTexB } }
cylinder { <0,14.55,0>, <0,400,0> ,22.5 texture{MyMarble translate
kolCntr*10}}
scale 2
}
#declare k=k+1;
#end
Every time you call KOL(), the variable kolCntr(which in this case
stands for "KOL counter") increases by 1, which makes the next call
translate the texture by 10 units more.
Post a reply to this message
|
|