|
|
Hi Alain,
That is precisely what I need. If I could make use of the length parameter along
the spline, I could define the pigment at every such position. In the short code
I posted, you can see in the #macro that the radius of my pipe_spline is defined
by the parameter sClock - the radius is proportional to the position along the
spline. I want to do the same thing for color, but it seems the parameter sClock
does not work there. I suspect that it would be possible if I invoked the
parameter correctly.
- Alex
Alain <kua### [at] videotronca> wrote:
> Usualy, any variable containing "clock", with any form of
> capitalisation, refer to the clock built in variable and is related to
> animations.
> Most of the case, you'll find something like:
> #declare sClock = clock*Something;
> or
> #declare sClock = clock*Something+SomethingElse;
>
> It can also be set to some user defined value. When used with splines,
> it's usualy used to pick a specific point along the spline.
Post a reply to this message
|
|