Nooberal
12-31-2010, 03:55 PM
Hi,
I would like to colour geometry based on it's position along a motion path.
I initially thought that it would be possible to use the motion path's U value to sample the colour at any position along a ramp. This way I would also obtain a decent visual (the ramp node's output in the attribute editor) of the geometry's colour across its journey.
It doesn't appear that sampling ramp textures in this way is possible and I'm now struggling for an alternative solution. I've considered a few things but all come with limitations. At the moment my best bet appears to be simply keyframing the colour adjustment over time, but this doesn't feel like a particularly robust solution for multiple pieces of geometry.
I've attached a rough example of what I'm driving at.
Any ideas?
Thanks in advance,
I would like to colour geometry based on it's position along a motion path.
I initially thought that it would be possible to use the motion path's U value to sample the colour at any position along a ramp. This way I would also obtain a decent visual (the ramp node's output in the attribute editor) of the geometry's colour across its journey.
It doesn't appear that sampling ramp textures in this way is possible and I'm now struggling for an alternative solution. I've considered a few things but all come with limitations. At the moment my best bet appears to be simply keyframing the colour adjustment over time, but this doesn't feel like a particularly robust solution for multiple pieces of geometry.
I've attached a rough example of what I'm driving at.
Any ideas?
Thanks in advance,
